Commit 59433218 authored by JC Brand's avatar JC Brand

Call 'clearMessages'

parent 21217666
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment