aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-19 15:20:28 -0800
committerzotlabs <mike@macgirvin.com>2018-11-19 15:20:28 -0800
commit6481c9dca18d5b0e09e495b30edff987ac2da0b5 (patch)
tree559b1eed092abf4398e00ae467a04cfe5393ec21
parent7aaa1973f492c3505b132a1f6af6c897fa6e0581 (diff)
downloadvolse-hubzilla-6481c9dca18d5b0e09e495b30edff987ac2da0b5.tar.gz
volse-hubzilla-6481c9dca18d5b0e09e495b30edff987ac2da0b5.tar.bz2
volse-hubzilla-6481c9dca18d5b0e09e495b30edff987ac2da0b5.zip
use this form instead
-rw-r--r--Zotlabs/Lib/ThreadItem.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 98fb5c268..83d243177 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -39,8 +39,7 @@ class ThreadItem {
$this->data = $data;
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
- $conv = $this->get_conversation();
- $observer = $conv->get_observer();
+ $observer = \App::get_observer();
// Prepare the children
if($data['children']) {