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

This commit is contained in:
JC Brand 2016-03-22 07:15:48 +00:00
parent b18059fc04
commit 1f2840035b

View File

@ -133,7 +133,7 @@
/* Creates an HTML5 Notification to inform of a change in a
* 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.
return;
}