From ae9a9191f3e8f179ba38c9aad7ad6cee6603238e Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 18 May 2022 08:47:45 +0000 Subject: implement starring of pubstream items --- Zotlabs/Lib/ThreadItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index e43264c0d..a02c1415e 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -284,7 +284,7 @@ class ThreadItem { if($this->is_toplevel()) { // FIXME check this permission - if(($conv->get_profile_owner() == local_channel()) && (! array_key_exists('real_uid',$item))) { + if($conv->get_profile_owner() === local_channel() || intval($item['item_private']) === 0) { $star = array( 'toggle' => t("Toggle Star Status"), -- cgit v1.2.3