From 5e7c9b9d4a0dccf615da1ebf8bac93c10b3d2ac8 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 3 Oct 2018 15:21:20 +0200 Subject: jot: show settings icon only to local profile owner --- include/conversation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index c8a3f1824..041994b90 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1462,7 +1462,8 @@ function hz_status_editor($a, $x, $popup = false) { '$expanded' => ((x($x, 'expanded')) ? $x['expanded'] : false), '$bbcode' => ((x($x, 'bbcode')) ? $x['bbcode'] : false), '$parent' => ((array_key_exists('parent',$x) && $x['parent']) ? $x['parent'] : 0), - '$reset' => $reset + '$reset' => $reset, + '$is_owner' => ((local_channel() && (local_channel() == $x['profile_uid'])) ? true : false) )); if ($popup === true) { -- cgit v1.2.3