aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-12-03 23:35:19 +0100
committerMax Kostikov <max@kostikov.co>2019-12-03 23:35:19 +0100
commit80e03268fd8086eca65f79ac3674fd3e2e23cdf6 (patch)
tree2c18404f4315d46c8d01fd0f8899062a4f9e50d6
parent135b3cf1ef077051f78a26520ab143407f5d4577 (diff)
downloadvolse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.tar.gz
volse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.tar.bz2
volse-hubzilla-80e03268fd8086eca65f79ac3674fd3e2e23cdf6.zip
Fix show share menu option for pinned post
-rw-r--r--Zotlabs/Widget/Pinned.php2
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.