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