UltrasonicNXT has submitted this change and it was merged.

Change subject: Fix preferences
......................................................................


Fix preferences

Change-Id: I324b1885d988c276617c02831910be67577b8cd9
---
M MediaWikiChat.js
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  UltrasonicNXT: Verified; Looks good to me, approved



diff --git a/MediaWikiChat.js b/MediaWikiChat.js
index 21001e3..a26fabb 100644
--- a/MediaWikiChat.js
+++ b/MediaWikiChat.js
@@ -575,7 +575,7 @@
                                MediaWikiChat.audio( 'message' );
                        }
                        document.title = "* " + MediaWikiChat.title;
-                       if ( mw.user.options.get( 'chat-ping-pm' ) ) {
+                       if ( mw.user.options.get( 'chat-notify-message' ) ) {
                                MediaWikiChat.notify( title, message );
                        }
                }
@@ -587,7 +587,7 @@
                                MediaWikiChat.audio( 'pm' );
                        }
                        document.title = "> " + MediaWikiChat.title;
-                       if ( mw.user.options.get( 'chat-ping-pm' ) ) {
+                       if ( mw.user.options.get( 'chat-notify-pm' ) ) {
                                MediaWikiChat.notify( title, message );
                        }
                }
@@ -601,7 +601,7 @@
                                MediaWikiChat.audio( 'message' );
                        }
                        document.title = "! " + MediaWikiChat.title;
-                       if ( mw.user.options.get( 'chat-ping-pm' ) ) {
+                       if ( mw.user.options.get( 'chat-notify-mention' ) ) {
                                MediaWikiChat.notify( title, message );
                        }
                }
@@ -613,7 +613,7 @@
                                MediaWikiChat.audio( 'message' );
                        }
                        document.title = "+ " + MediaWikiChat.title;
-                       if ( mw.user.options.get( 'chat-ping-pm' ) ) {
+                       if ( mw.user.options.get( 'chat-notify-joinleave' ) ) {
                                MediaWikiChat.notify( title, '' );
                        }
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/184230
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I324b1885d988c276617c02831910be67577b8cd9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>
Gerrit-Reviewer: UltrasonicNXT <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to