diff options
-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): |