aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-10-23 12:04:15 +0000
committerMario <mario@mariovavti.com>2024-10-23 12:04:15 +0000
commite0a91bed7a2b2b84a3385882952f198661c6ca98 (patch)
tree60a1872d8b24ea5566296d1c4207c805c731e79a /Zotlabs/Lib
parent4d1be3aea583c26c6e24e88b464d5a366a4d2ef3 (diff)
downloadvolse-hubzilla-e0a91bed7a2b2b84a3385882952f198661c6ca98.tar.gz
volse-hubzilla-e0a91bed7a2b2b84a3385882952f198661c6ca98.tar.bz2
volse-hubzilla-e0a91bed7a2b2b84a3385882952f198661c6ca98.zip
allow to file items from the public stream
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 60a314da0..d21d85105 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -187,7 +187,7 @@ class ThreadItem {
$drop = [ 'dropping' => true, 'delete' => t('Admin Delete') ];
}
- $filer = ((($conv->get_profile_owner() == local_channel()) && (! array_key_exists('real_uid',$item))) ? t("Save to Folder") : false);
+ $filer = (((local_channel() && $conv->get_profile_owner() === local_channel()) || (local_channel() && App::$module === 'pubstream')) ? t("Save to Folder") : false);
$profile_avatar = $item['author']['xchan_photo_s'];
$profile_link = chanlink_hash($item['author_xchan']);