hubzilla issue #1050 pubstream notifications visible when pubstream is not
This commit is contained in:
parent
73248fd227
commit
f2078b25ad
@ -140,7 +140,8 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||||||
db_utcnow(), db_quoteinterval('3 MINUTE')
|
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);
|
$notify_pubs = ((local_channel()) ? ($vnotify & VNOTIFY_PUBS) && $discover_tab_on : $discover_tab_on);
|
||||||
|
|
||||||
if($notify_pubs) {
|
if($notify_pubs) {
|
||||||
|
Reference in New Issue
Block a user