From cfdf1def2a24a7796ef86ab84d30fdbe734f3119 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 20 Mar 2017 14:09:27 +0100 Subject: since we have the app bin we do not actually need the profile tabs for ourself --- include/conversation.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index e6ba1fa6e..a8887a428 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1784,6 +1784,9 @@ function profile_tabs($a, $is_owner = false, $nickname = null){ $uid = ((App::$profile['profile_uid']) ? App::$profile['profile_uid'] : local_channel()); $account_id = ((App::$profile['profile_uid']) ? App::$profile['channel_account_id'] : App::$channel['channel_account_id']); + if ($uid == local_channel()) + return; + if($uid == local_channel()) { $cal_link = ''; } -- cgit v1.2.3