Avoid a traceback on /close on a non-joined MucTab. fixed #2358
This commit is contained in:
parent
dfa8f33c67
commit
0f0efb7ada
1 changed files with 2 additions and 0 deletions
|
@ -819,6 +819,8 @@ class MucTab(ChatTab):
|
|||
if self == self.core.current_tab():
|
||||
self.refresh()
|
||||
self.core.doupdate()
|
||||
else:
|
||||
msg =_("\x195}You left the chatroom\x193}")
|
||||
self.core.disable_private_tabs(self.name, reason=msg)
|
||||
|
||||
def command_close(self, arg):
|
||||
|
|
Loading…
Reference in a new issue