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

clean some var when we destroy a group chat window

parent e05c6de7
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,9 @@ class GroupchatWindow(chat.Chat):
def on_groupchat_window_destroy(self, widget):
chat.Chat.on_window_destroy(self, widget, 'gc')
for room_jid in self.xmls:
del gajim.gc_contacts[self.account][room_jid]
del gajim.gc_connected[self.account][room_jid]
def on_groupchat_window_focus_in_event(self, widget, event):
"""When window get focus"""
......
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