aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-02 08:30:38 +0200
committerMax Kostikov <max@kostikov.co>2019-05-02 08:30:38 +0200
commitea6293544d53848021f07074d786b064a6fa0a7e (patch)
tree89b252251859263db3231c0bc495247f687ff370 /Zotlabs/Lib/ThreadItem.php
parent51a0fc45e2a9e95ce37dbe9a792d4281e0baf07b (diff)
downloadvolse-hubzilla-ea6293544d53848021f07074d786b064a6fa0a7e.tar.gz
volse-hubzilla-ea6293544d53848021f07074d786b064a6fa0a7e.tar.bz2
volse-hubzilla-ea6293544d53848021f07074d786b064a6fa0a7e.zip
Add Zap threads support
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 31259f012..7a3a7c0c5 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -38,6 +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));
$observer = \App::get_observer();