diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-19 15:04:08 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-19 15:04:08 -0800 |
commit | 7aaa1973f492c3505b132a1f6af6c897fa6e0581 (patch) | |
tree | 1f9bca3b5f0dcf5fb4016e2512fa36b49be11ee1 /Zotlabs/Lib/ThreadItem.php | |
parent | b0689614bff4272f90b0c3f064ca91b16cb392e0 (diff) | |
download | volse-hubzilla-7aaa1973f492c3505b132a1f6af6c897fa6e0581.tar.gz volse-hubzilla-7aaa1973f492c3505b132a1f6af6c897fa6e0581.tar.bz2 volse-hubzilla-7aaa1973f492c3505b132a1f6af6c897fa6e0581.zip |
push recent changes
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 93d8aa3a5..98fb5c268 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -39,6 +39,9 @@ class ThreadItem { $this->data = $data; $this->toplevel = ($this->get_id() == $this->get_data_value('parent')); + $conv = $this->get_conversation(); + $observer = $conv->get_observer(); + // Prepare the children if($data['children']) { foreach($data['children'] as $item) { @@ -51,6 +54,7 @@ class ThreadItem { continue; } + $child = new ThreadItem($item); $this->add_child($child); } |