Do not run a /part command when disconnecting from poezio
Use the underlying function instead
This commit is contained in:
parent
c8cd17f509
commit
4d3830b460
1 changed files with 1 additions and 1 deletions
|
@ -840,7 +840,7 @@ class Core:
|
||||||
self.xmpp.reconnect(wait=0.0, reason=msg)
|
self.xmpp.reconnect(wait=0.0, reason=msg)
|
||||||
else:
|
else:
|
||||||
for tab in self.get_tabs(tabs.MucTab):
|
for tab in self.get_tabs(tabs.MucTab):
|
||||||
tab.command_part(msg)
|
tab.leave_room(msg)
|
||||||
self.xmpp.disconnect(reason=msg)
|
self.xmpp.disconnect(reason=msg)
|
||||||
|
|
||||||
def send_message(self, msg: str) -> bool:
|
def send_message(self, msg: str) -> bool:
|
||||||
|
|
Loading…
Reference in a new issue