Browse Source

Bugfix. contact is a map, not a Backbone.Model

JC Brand 9 years ago
parent
commit
1f2840035b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/converse-notification.js

+ 1 - 1
src/converse-notification.js

@@ -133,7 +133,7 @@
                 /* Creates an HTML5 Notification to inform of a change in a
                 /* Creates an HTML5 Notification to inform of a change in a
                  * contact's chat state.
                  * contact's chat state.
                  */
                  */
-                if (_.contains(converse.chatstate_notification_blacklist, contact.get('jid'))) {
+                if (_.contains(converse.chatstate_notification_blacklist, contact.jid)) {
                     // Don't notify if the user is being ignored.
                     // Don't notify if the user is being ignored.
                     return;
                     return;
                 }
                 }