some more work on mod hq

This commit is contained in:
Mario Vavti
2017-11-24 15:01:34 +01:00
parent 14f1292743
commit 87eaa6d8e5
7 changed files with 37 additions and 10 deletions

View File

@@ -513,6 +513,12 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
}
}
elseif ($mode === 'hq') {
$profile_owner = local_channel();
$page_writeable = true;
$live_update_div = '<div id="live-hq"></div>' . "\r\n";
}
elseif ($mode === 'channel') {
$profile_owner = App::$profile['profile_uid'];
$page_writeable = ($profile_owner == local_channel());