diff --git a/src/converse-controlbox.js b/src/converse-controlbox.js index 39a012852..d27a9fcea 100644 --- a/src/converse-controlbox.js +++ b/src/converse-controlbox.js @@ -102,7 +102,7 @@ getOldestMaximizedChat: function (exclude_ids) { exclude_ids.push('controlbox'); - this._super.getOldestMaximizedChat.apply(this, arguments); + return this._super.getOldestMaximizedChat.apply(this, arguments); }, getChatBoxWidth: function (view) {