mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:15:19 +00:00
hubzilla issue #1050 pubstream notifications visible when pubstream is not
This commit is contained in:
parent
73248fd227
commit
f2078b25ad
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||
db_utcnow(), db_quoteinterval('3 MINUTE')
|
||||
);
|
||||
|
||||
$discover_tab_on = ((get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false) ? false : true);
|
||||
$discover_tab_on = can_view_public_stream();
|
||||
|
||||
$notify_pubs = ((local_channel()) ? ($vnotify & VNOTIFY_PUBS) && $discover_tab_on : $discover_tab_on);
|
||||
|
||||
if($notify_pubs) {
|
||||
|
|
Loading…
Reference in a new issue