From 1f2840035b27ea48b542b685eb39519ef91e3b16 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Tue, 22 Mar 2016 07:15:48 +0000 Subject: [PATCH] Bugfix. contact is a map, not a Backbone.Model --- src/converse-notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converse-notification.js b/src/converse-notification.js index ebcaad927..e5cd6effe 100644 --- a/src/converse-notification.js +++ b/src/converse-notification.js @@ -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; }