use this form instead

This commit is contained in:
zotlabs 2018-11-19 15:20:28 -08:00
parent 7aaa1973f4
commit 6481c9dca1

View File

@ -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']) {