diff options
author | Mario <mario@mariovavti.com> | 2022-05-18 08:47:45 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-05-18 08:47:45 +0000 |
commit | ae9a9191f3e8f179ba38c9aad7ad6cee6603238e (patch) | |
tree | e40ece3b2ac79f7064e1270aa643181420f0e073 /Zotlabs/Lib/ThreadItem.php | |
parent | c1dc16a89dedd029f4cb206009c6ef7d66626c01 (diff) | |
download | volse-hubzilla-ae9a9191f3e8f179ba38c9aad7ad6cee6603238e.tar.gz volse-hubzilla-ae9a9191f3e8f179ba38c9aad7ad6cee6603238e.tar.bz2 volse-hubzilla-ae9a9191f3e8f179ba38c9aad7ad6cee6603238e.zip |
implement starring of pubstream items
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |