From 4d3830b4604ff8682ac06f01c9437f03d21b2239 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 26 Aug 2019 12:20:01 +0200 Subject: Do not run a /part command when disconnecting from poezio Use the underlying function instead --- poezio/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/core') 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: -- cgit v1.2.3