aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-27 21:51:59 +0200
committergit-marijus <mario@mariovavti.com>2017-07-27 21:51:59 +0200
commit179478a9401c059e16588654d878e6a7813904cb (patch)
tree92cc85a96843b402d713eca323eaa558d5e615f0
parent41a6300d3ce205fae4f4210815ef0b6a04d22406 (diff)
downloadvolse-hubzilla-179478a9401c059e16588654d878e6a7813904cb.tar.gz
volse-hubzilla-179478a9401c059e16588654d878e6a7813904cb.tar.bz2
volse-hubzilla-179478a9401c059e16588654d878e6a7813904cb.zip
default to static updates if not local channel
-rw-r--r--Zotlabs/Module/Display.php2
-rw-r--r--Zotlabs/Module/Pubstream.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index df3cb1e2b..81c72adb3 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -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))
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index 28c34425c..7689c10cc 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -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)