diff options
author | Max Kostikov <max@kostikov.co> | 2019-12-03 23:35:19 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-12-03 23:35:19 +0100 |
commit | 80e03268fd8086eca65f79ac3674fd3e2e23cdf6 (patch) | |
tree | 2c18404f4315d46c8d01fd0f8899062a4f9e50d6 /Zotlabs | |
parent | 135b3cf1ef077051f78a26520ab143407f5d4577 (diff) | |
download | volse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.tar.gz volse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.tar.bz2 volse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.zip |
Fix show share menu option for pinned post
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Widget/Pinned.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php index 7fbda0d5f..0ef724102 100644 --- a/Zotlabs/Widget/Pinned.php +++ b/Zotlabs/Widget/Pinned.php @@ -88,7 +88,7 @@ class Pinned { $verified = (intval($item['item_verified']) ? t('Message signature validated') : ''); $forged = ((! intval($item['item_verified']) && $item['sig']) ? t('Message signature incorrect') : ''); - $shareable = ((local_channel() && $item['item_private'] != 1) ? true : false); + $shareable = ((local_channel() && \App::$profile_uid == local_channel() && $item['item_private'] != 1) ? true : false); if ($shareable) { // This actually turns out not to be possible in some protocol stacks without opening up hundreds of new issues. // Will allow it only for uri resolvable sources. |