diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-20 14:09:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-20 14:09:27 +0100 |
commit | cfdf1def2a24a7796ef86ab84d30fdbe734f3119 (patch) | |
tree | 71650ad74ba38679a9bcbdd649a820553f6a4af8 | |
parent | 37d350c3f589779a32ca356047d8c7244ac4878f (diff) | |
download | volse-hubzilla-cfdf1def2a24a7796ef86ab84d30fdbe734f3119.tar.gz volse-hubzilla-cfdf1def2a24a7796ef86ab84d30fdbe734f3119.tar.bz2 volse-hubzilla-cfdf1def2a24a7796ef86ab84d30fdbe734f3119.zip |
since we have the app bin we do not actually need the profile tabs for ourself
-rw-r--r-- | include/conversation.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 = ''; } |