initial notifications support for new shared files and new (since initial site load) pubstream activity

This commit is contained in:
git-marijus
2017-07-28 22:42:02 +02:00
parent 5f7b2e7c17
commit f9b342c87d
9 changed files with 102 additions and 11 deletions

View File

@@ -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');