This commit is contained in:
Yann Leboulanger 2005-08-03 19:42:26 +00:00
parent ba796be13b
commit 3aa9a9a830
1 changed files with 2 additions and 1 deletions

View File

@ -345,7 +345,8 @@ class Chat:
self.notebook.set_show_tabs(False)
self.show_title()
del self.plugin.windows[self.account][kind][jid]
if self.plugin.windows[self.account][kind].has_key(jid):
del self.plugin.windows[self.account][kind][jid]
del self.nb_unread[jid]
del gajim.last_message_time[self.account][jid]
del self.last_time_printout[jid]