aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Sse.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Sse.php b/Zotlabs/Module/Sse.php
index 3e46a325c..556fe2853 100644
--- a/Zotlabs/Module/Sse.php
+++ b/Zotlabs/Module/Sse.php
@@ -24,6 +24,9 @@ class Sse extends Controller {
self::$ob_hash = get_observer_hash();
self::$vnotify = get_pconfig(self::$uid, 'system', 'vnotify');
+ if(! self::$ob_hash)
+ return;
+
$sleep_seconds = 3;
header("Content-Type: text/event-stream");