aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-10-01 22:30:00 +0200
committerMario Vavti <mario@mariovavti.com>2021-10-01 22:30:00 +0200
commit7b1cd37cd644a67d14764b63c1cfcebac9fd85ba (patch)
tree526bf24b3bffd826c6a26d65f63d7f5d6ea8d470
parent47e83a15c1168cfd8ebc7905db853f3db6b3b31b (diff)
downloadvolse-hubzilla-7b1cd37cd644a67d14764b63c1cfcebac9fd85ba.tar.gz
volse-hubzilla-7b1cd37cd644a67d14764b63c1cfcebac9fd85ba.tar.bz2
volse-hubzilla-7b1cd37cd644a67d14764b63c1cfcebac9fd85ba.zip
only bootstrap pubs if the app is installed
-rw-r--r--Zotlabs/Module/Sse_bs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index b445b235d..eaaeae7b7 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -373,7 +373,7 @@ class Sse_bs extends Controller {
$result['pubs']['notifications'] = [];
$result['pubs']['count'] = 0;
- if(! (self::$vnotify & VNOTIFY_PUBS)) {
+ if(! (self::$vnotify & VNOTIFY_PUBS) || !Apps::system_app_installed(self::$uid, 'Public Stream')) {
$result['pubs']['offset'] = -1;
return $result;
}