aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorJulian Schweinsberg <ich@jschweinsberg.de>2018-04-09 19:18:53 +0200
committerJulian Schweinsberg <ich@jschweinsberg.de>2018-04-09 19:18:53 +0200
commit530a378aa1212b390120a66c08b4ea1f993d3b23 (patch)
tree8f351dc3bb9f5cff5e3ebbe610588b38e807ee84 /Zotlabs/Widget
parent04935f139d924514b066a3cbe3a544102090de59 (diff)
downloadvolse-hubzilla-530a378aa1212b390120a66c08b4ea1f993d3b23.tar.gz
volse-hubzilla-530a378aa1212b390120a66c08b4ea1f993d3b23.tar.bz2
volse-hubzilla-530a378aa1212b390120a66c08b4ea1f993d3b23.zip
Modified notifications widget to add the public stream when the current user is allowed to see it only
Diffstat (limited to 'Zotlabs/Widget')
-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',