summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index c4ed3ac9..b8855efe 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -840,7 +840,7 @@ class Core:
self.xmpp.reconnect(wait=0.0, reason=msg)
else:
for tab in self.get_tabs(tabs.MucTab):
- tab.command_part(msg)
+ tab.leave_room(msg)
self.xmpp.disconnect(reason=msg)
def send_message(self, msg: str) -> bool: