muc: clear the users buffer even if we do not think we are connected

This commit is contained in:
mathieui 2022-01-30 15:14:04 +01:00
parent 5a7e237972
commit 8847f3e7de

View file

@ -233,6 +233,8 @@ class MucTab(ChatTab):
message)
self.core.disable_private_tabs(self.jid.bare, reason=msg)
else:
self.presence_buffer = []
self.users = []
muc.leave_groupchat(self.core.xmpp, self.jid, self.own_nick,
message)