aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-10-23 14:19:45 +0200
committerMario Vavti <mario@mariovavti.com>2024-10-23 14:19:45 +0200
commit1006ebbf61db55d6e5a013aa17b4ef58ebd409ca (patch)
tree4d531ac00341af9090d9b9f692855e3f973a081d /Zotlabs/Lib/ThreadItem.php
parent168ec536866b16c5d9bad6551ebf4a38b11e440f (diff)
parente530476e6c5d2319f3a0a09dfe73ec181e923325 (diff)
downloadvolse-hubzilla-1006ebbf61db55d6e5a013aa17b4ef58ebd409ca.tar.gz
volse-hubzilla-1006ebbf61db55d6e5a013aa17b4ef58ebd409ca.tar.bz2
volse-hubzilla-1006ebbf61db55d6e5a013aa17b4ef58ebd409ca.zip
Merge branch 'dev' into containers
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-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']);