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

prevent traceback when closing a transport chat window. Fixes #4767

parent f4101fbb
No related branches found
No related tags found
No related merge requests found
......@@ -480,7 +480,8 @@ class MessageWindow(object):
bctrl = self.get_control(jid, ctrl.account)
# keep last_message_time around unless this was our last control with
# that jid
if not fctrl and not bctrl:
if not fctrl and not bctrl and \
fjid in gajim.last_message_time[ctrl.account]:
del gajim.last_message_time[ctrl.account][fjid]
# Disconnect tab DnD only if GTK version < 2.10
......
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