Unverified Commit 4d3830b4 authored by mathieui's avatar mathieui

Do not run a /part command when disconnecting from poezio

Use the underlying function instead
parent c8cd17f5
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment