From 80e03268fd8086eca65f79ac3674fd3e2e23cdf6 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Tue, 3 Dec 2019 23:35:19 +0100 Subject: Fix show share menu option for pinned post --- Zotlabs/Widget/Pinned.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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. -- cgit v1.2.3