From 3c90ac838f4e8b908d18b4068bd1bbf9989453ba Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 24 Jun 2016 19:41:59 +0200 Subject: Always send a presence-unavailable on command /part (even if we thought we were already disconnected) --- poezio/tabs/muctab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index ff4471d8..085bcbde 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -617,6 +617,8 @@ class MucTab(ChatTab): if self == self.core.current_tab(): self.refresh() self.core.doupdate() + else: + muc.leave_groupchat(self.core.xmpp, self.name, self.own_nick, arg) @command_args_parser.raw def command_close(self, msg): -- cgit v1.2.3