Commit 1f284003 authored by JC Brand's avatar JC Brand

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

parent b18059fc
...@@ -133,7 +133,7 @@ ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment