Skip to content
Snippets Groups Projects
Commit a180b3be authored by nicfit's avatar nicfit
Browse files

Send 'gone' for each tab when the entire chat window was closed instead

of only when a tab is individually closed.
parent a20cf924
No related branches found
No related tags found
No related merge requests found
......@@ -387,6 +387,7 @@ class TabbedChatWindow(chat.Chat):
def on_tabbed_chat_window_destroy(self, widget):
# Reset contact chatstates to all open tabs
for jid in self.xmls:
self.send_chatstate('gone', jid)
self.contacts[jid].chatstate = None
#clean gajim.interface.instances[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