Always send a presence-unavailable on command /part

(even if we thought we were already disconnected)
This commit is contained in:
mathieui 2016-06-24 19:41:59 +02:00
parent 76a890acc7
commit 3c90ac838f

View file

@ -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):