diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-24 19:41:59 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-24 19:41:59 +0200 |
commit | 3c90ac838f4e8b908d18b4068bd1bbf9989453ba (patch) | |
tree | 12bacd77eb9dd51af5e30f237b88c29cba4276d0 | |
parent | 76a890acc7c9938ed4a7db20693f808889362220 (diff) | |
download | poezio-3c90ac838f4e8b908d18b4068bd1bbf9989453ba.tar.gz poezio-3c90ac838f4e8b908d18b4068bd1bbf9989453ba.tar.bz2 poezio-3c90ac838f4e8b908d18b4068bd1bbf9989453ba.tar.xz poezio-3c90ac838f4e8b908d18b4068bd1bbf9989453ba.zip |
Always send a presence-unavailable on command /part
(even if we thought we were already disconnected)
-rw-r--r-- | poezio/tabs/muctab.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |