mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 02:39:33 +00:00
Making sure IP users get orange bar notificaitons
Change-Id: Iec38c8458fad43997239ef8aea87b1166a481bb7
This commit is contained in:
parent
83fccf44bc
commit
f6f287f4a2
|
@ -665,7 +665,8 @@ class EchoHooks {
|
||||||
global $wgEchoNotifications;
|
global $wgEchoNotifications;
|
||||||
// If the user has the notifications flyout turned on and is receiving
|
// If the user has the notifications flyout turned on and is receiving
|
||||||
// notifications for talk page messages, disable the orange-bar-style notice.
|
// notifications for talk page messages, disable the orange-bar-style notice.
|
||||||
if ( $recipient->getOption( 'echo-notify-show-link' )
|
if ( $recipient->isLoggedIn()
|
||||||
|
&& $recipient->getOption( 'echo-notify-show-link' )
|
||||||
&& isset( $wgEchoNotifications['edit-user-talk'] )
|
&& isset( $wgEchoNotifications['edit-user-talk'] )
|
||||||
) {
|
) {
|
||||||
// hide orange bar
|
// hide orange bar
|
||||||
|
|
Loading…
Reference in a new issue