move profile tabs to app-tray

This commit is contained in:
Mario Vavti
2017-03-20 17:24:48 +01:00
parent cfdf1def2a
commit ca14ab3d55
12 changed files with 22 additions and 12 deletions

View File

@@ -36,7 +36,10 @@ EOT;
}
elseif(remote_channel())
$observer = App::get_observer();
require_once('include/conversation.php');
$is_owner = (((local_channel()) && (\App::$profile['profile_uid'] == local_channel())) ? true : false);
$navapps[] = profile_tabs($a, $is_owner, \App::$profile['channel_address']);
$myident = (($channel) ? $channel['xchan_addr'] : '');