aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Notifications.php')
-rw-r--r--Zotlabs/Widget/Notifications.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index f2619c5cf..fc78a2a39 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -123,7 +123,7 @@ class Notifications {
];
}
- if(get_config('system', 'disable_discover_tab') != 1) {
+ if(can_view_public_stream()) {
$notifications[] = [
'type' => 'pubs',
'icon' => 'globe',