Commit 4624cc2d authored by JC Brand's avatar JC Brand

Fixes #603

Method has new arg signature now that it's an event handler
parent c2212833
......@@ -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.
*/
......
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