Fix failing test by making sure chatroom gets destroyed
This commit is contained in:
parent
128335e1dc
commit
21fbb7b7ac
@ -670,8 +670,8 @@
|
||||
// model is going to be destroyed afterwards.
|
||||
this.model.set('chat_state', _converse.INACTIVE);
|
||||
this.sendChatState();
|
||||
this.model.destroy();
|
||||
}
|
||||
this.model.destroy();
|
||||
this.remove();
|
||||
_converse.emit('chatBoxClosed', this);
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user