From 47f75ad8bfbe8325a76ae6fe466aa8080fc87045 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 2 May 2019 11:28:29 +0200 Subject: Add check if threads are enabled globally --- Zotlabs/Lib/ThreadItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 9d15215e3..3f1888d30 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -38,7 +38,7 @@ class ThreadItem { $this->data = $data; $this->toplevel = ($this->get_id() == $this->get_data_value('parent')); - $this->threaded = feature_enabled($conv->get_profile_owner(),'reply_to'); + $this->threaded = get_config('system','thread_allow'); $observer = \App::get_observer(); -- cgit v1.2.3