aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pubstream.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2016-11-02 16:12:05 +0100
committerGitHub <noreply@github.com>2016-11-02 16:12:05 +0100
commit5d3e04216d466e57dfeefe0319dd14b26e8487a2 (patch)
treeef9651ccd33ef30f8208491db21ccef7cc6a4483 /Zotlabs/Module/Pubstream.php
parent055d55b71b2430850f758378513e75e69fa27745 (diff)
parentca948d66a901677665c7a5983dc438918d7fb1c9 (diff)
downloadvolse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.tar.gz
volse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.tar.bz2
volse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.zip
Merge pull request #574 from zotlabs/static_update
feature: static page update as opposed to live update of conversation…
Diffstat (limited to 'Zotlabs/Module/Pubstream.php')
-rw-r--r--Zotlabs/Module/Pubstream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index 312be7718..e354be8c3 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -21,6 +21,8 @@ class Pubstream extends \Zotlabs\Web\Controller {
return;
$item_normal = item_normal();
+
+ $static = ((local_channel()) ? intval(feature_enabled(local_channel(),'static_updates')) : 0);
if(! $update) {
@@ -49,6 +51,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
'$nouveau' => '0',
'$wall' => '0',
'$list' => '0',
+ '$static' => $static,
'$page' => ((\App::$pager['page'] != 1) ? \App::$pager['page'] : 1),
'$search' => '',
'$order' => 'comment',