From 4624cc2dc7fe1a41a02c09b3f0a84e7629591b36 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 7 Mar 2016 16:10:27 +0000 Subject: [PATCH] Fixes #603 Method has new arg signature now that it's an event handler --- src/converse-notification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/converse-notification.js b/src/converse-notification.js index 7f00e1297..e5abcbe27 100644 --- a/src/converse-notification.js +++ b/src/converse-notification.js @@ -83,7 +83,7 @@ } }; - converse.showChatStateNotification = function (event, contact) { + converse.showChatStateNotification = function (evt, contact) { /* Show an HTML5 notification indicating that a contact changed * their chat state. */ @@ -109,7 +109,7 @@ setTimeout(n.close.bind(n), 5000); }; - converse.showMessageNotification = function ($message) { + converse.showMessageNotification = function (evt, $message) { /* Shows an HTML5 Notification to indicate that a new chat * message was received. */