Call 'clearMessages'
This commit is contained in:
parent
2121766623
commit
594332181b
@ -736,7 +736,7 @@ const ChatRoomMixin = {
|
||||
async leave (exit_msg) {
|
||||
this.features.destroy();
|
||||
this.occupants.clearStore();
|
||||
api.settings.get('muc_clear_messages_on_leave') && this.messages.clearStore();
|
||||
api.settings.get('muc_clear_messages_on_leave') && this.clearMessages();
|
||||
|
||||
const disco_entity = _converse.disco_entities?.get(this.get('jid'));
|
||||
if (disco_entity) {
|
||||
|
Loading…
Reference in New Issue
Block a user