summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-01-30 15:14:04 +0100
committermathieui <mathieui@mathieui.net>2022-01-30 15:14:04 +0100
commit8847f3e7de8f36de2079f9622e4673734e9d4a84 (patch)
treed5585784f5d81c79070257bad0bd25f5712b1bab
parent5a7e23797216a1bcc8509858d9b75d3ff39fba4c (diff)
downloadpoezio-8847f3e7de8f36de2079f9622e4673734e9d4a84.tar.gz
poezio-8847f3e7de8f36de2079f9622e4673734e9d4a84.tar.bz2
poezio-8847f3e7de8f36de2079f9622e4673734e9d4a84.tar.xz
poezio-8847f3e7de8f36de2079f9622e4673734e9d4a84.zip
muc: clear the users buffer even if we do not think we are connected
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index ef8ec6b0..f3cbefbf 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -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)