aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-02 10:40:33 +0200
committerMax Kostikov <max@kostikov.co>2019-05-02 10:40:33 +0200
commitd4ab8a5a5d933e7d6e1cec610c26756e32b05624 (patch)
treed9360e38bda588def314b7580c8fe59fb8bc9297 /Zotlabs/Lib/ThreadItem.php
parentea6293544d53848021f07074d786b064a6fa0a7e (diff)
downloadvolse-hubzilla-d4ab8a5a5d933e7d6e1cec610c26756e32b05624.tar.gz
volse-hubzilla-d4ab8a5a5d933e7d6e1cec610c26756e32b05624.tar.bz2
volse-hubzilla-d4ab8a5a5d933e7d6e1cec610c26756e32b05624.zip
Check if 'reply on comment' enabled for this profile
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 7a3a7c0c5..9d15215e3 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 = get_config('system','thread_allow',((defined('NOMADIC')) ? false : true));
+ $this->threaded = feature_enabled($conv->get_profile_owner(),'reply_to');
$observer = \App::get_observer();