Skip to content
Snippets Groups Projects
Commit a1d8b08d authored by nkour's avatar nkour
Browse files

no need to save var, and better comment

parent 62022038
No related branches found
No related tags found
No related merge requests found
......@@ -393,9 +393,9 @@ def on_tabbed_chat_window_delete_event(self, widget, event):
gajim.config.set('chat-height', height)
def on_tabbed_chat_window_destroy(self, widget):
# Reset chatstates
# Reset contact chatstates to all open tabs
for jid in self.xmls:
c = self.contacts[jid].chatstate = None
self.contacts[jid].chatstate = None
#clean gajim.interface.windows[self.account]['chats']
chat.Chat.on_window_destroy(self, widget, 'chats')
......
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