Skip to content
Snippets Groups Projects
Commit d96cfefa authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

when a groupchat occupand uses a previously used nick for which you had a...

when a groupchat occupand uses a previously used nick for which you had a window opened, closes the previous one.
parent 3f4194e1
No related branches found
No related tags found
No related merge requests found
......@@ -687,6 +687,10 @@ _('Do you really want to close them all?'),
except KeyError:
return
if new_jid in self._controls[acct]:
self.remove_tab(self._controls[acct][new_jid],
self.CLOSE_CLOSE_BUTTON, force=True)
self._controls[acct][new_jid] = ctrl
del self._controls[acct][old_jid]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment