aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pubstream.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
committergit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
commitf9b342c87d4129c457244861b3b841cb9dfe139b (patch)
tree560803c195d165117d88d1cf941f27de396459bd /Zotlabs/Module/Pubstream.php
parent5f7b2e7c173a45bcd0bd3f09ad1a6fe71b6ae4fb (diff)
downloadvolse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.gz
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.bz2
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.zip
initial notifications support for new shared files and new (since initial site load) pubstream activity
Diffstat (limited to 'Zotlabs/Module/Pubstream.php')
-rw-r--r--Zotlabs/Module/Pubstream.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index 7689c10cc..fd19ca98e 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -7,10 +7,11 @@ require_once('include/conversation.php');
class Pubstream extends \Zotlabs\Web\Controller {
function get($update = 0, $load = false) {
+
if($load)
$_SESSION['loadtime'] = datetime_convert();
-
+
if(observer_prohibited(true)) {
return login();
@@ -27,6 +28,8 @@ class Pubstream extends \Zotlabs\Web\Controller {
if(! $update) {
+ $_SESSION['static_loadtime'] = datetime_convert();
+
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
$maxheight = get_config('system','home_divmore_height');