From 1c3b61274cda241d96255c4fdc636cf49a1bdcfb Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 31 Dec 2014 17:07:02 +0100 Subject: [PATCH] Bugfix. Don't trim the newly opened (and only current) chat. --- converse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converse.js b/converse.js index dbde1789c..f71d58a53 100644 --- a/converse.js +++ b/converse.js @@ -2974,7 +2974,7 @@ if ((minimized_width + boxes_width + controlbox_width) > this.$el.outerWidth(true)) { oldest_chat = this.getOldestMaximizedChat(); - if (oldest_chat) { + if (oldest_chat && oldest_chat.get('id') !== new_id) { oldest_chat.minimize(); } }