diff options
author | Julian Schweinsberg <ich@jschweinsberg.de> | 2018-04-09 19:18:53 +0200 |
---|---|---|
committer | Julian Schweinsberg <ich@jschweinsberg.de> | 2018-04-09 19:18:53 +0200 |
commit | 530a378aa1212b390120a66c08b4ea1f993d3b23 (patch) | |
tree | 8f351dc3bb9f5cff5e3ebbe610588b38e807ee84 /Zotlabs | |
parent | 04935f139d924514b066a3cbe3a544102090de59 (diff) | |
download | volse-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')
-rw-r--r-- | Zotlabs/Widget/Notifications.php | 2 |
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', |