diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 1a883b576..f7cb34528 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -130,7 +130,7 @@ class Libzot { } $data['data'] = $msg; } -\ else { + else { unset($data['encoding']); } diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index c36a711ac..ede93ae65 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -87,7 +87,7 @@ class ThreadItem { * _ false on failure */ - public function get_template_data($conv_responses, $thread_level = 1, $collapse_all = false) { + public function get_template_data($conv_responses, $thread_level = 1) { $result = array(); @@ -306,10 +306,6 @@ class ThreadItem { localize_item($item); - if($this->is_toplevel() && $collapse_all) { - $item['collapse'] = true; - } - $opts = []; if ($this->is_wall_to_wall()) { if ($this->owner_censored) { @@ -475,8 +471,6 @@ class ThreadItem { $result = $arr['output']; - $censored = ((strpos($body['html'],"