default to static updates if not local channel

This commit is contained in:
git-marijus 2017-07-27 21:51:59 +02:00
parent 41a6300d3c
commit 179478a940
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class Display extends \Zotlabs\Web\Controller {
if((! $update) && (! $load)) {
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 0);
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
$o .= '<div id="live-display"></div>' . "\r\n";
$o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1))

View File

@ -27,7 +27,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
if(! $update) {
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 0);
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
$maxheight = get_config('system','home_divmore_height');
if(! $maxheight)