From 9a8d1921c79651f8f7ed68b969af253f9eece437 Mon Sep 17 00:00:00 2001 From: Deuteu Date: Thu, 13 Nov 2014 10:56:52 +0100 Subject: [PATCH] Multiple bind Restoring a chatbox wasnt unbinding event then the unread counter for a chatbox was multiply by the time you minized it. --- converse.js | 1 + 1 file changed, 1 insertion(+) diff --git a/converse.js b/converse.js index 5cab3b858..e95b99422 100644 --- a/converse.js +++ b/converse.js @@ -3079,6 +3079,7 @@ if (ev && ev.preventDefault) { ev.preventDefault(); } + this.model.messages.off('add',null,this); this.remove(); this.model.maximize(); }, 200)