Add missing parameter

This commit is contained in:
JC Brand 2020-07-29 16:22:20 +02:00
parent 4927d561a5
commit 5579e82fb9
2 changed files with 1 additions and 2 deletions

View File

@ -11,6 +11,5 @@ install: make node_modules
services: services:
- xvfb - xvfb
before_script: before_script:
- make serve_bg
- export DISPLAY=:99.0 - export DISPLAY=:99.0
script: make check ARGS=--single-run script: make check ARGS=--single-run

View File

@ -384,7 +384,7 @@ converse.plugins.add('converse-minimize', {
this.render(); this.render();
await this.initToggle(); await this.initToggle();
const chats = this.model.where({'minimized': true}); const chats = this.model.where({'minimized': true});
chats.length && this.addMultipleChats(); chats.length && this.addMultipleChats(chats);
this.listenTo(this.model, "add", this.onChanged) this.listenTo(this.model, "add", this.onChanged)
this.listenTo(this.model, "destroy", this.removeChat) this.listenTo(this.model, "destroy", this.removeChat)
this.listenTo(this.model, "change:minimized", this.onChanged) this.listenTo(this.model, "change:minimized", this.onChanged)