Do not run a /part command when disconnecting from poezio

Use the underlying function instead
This commit is contained in:
mathieui 2019-08-26 12:20:01 +02:00
parent c8cd17f509
commit 4d3830b460
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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: