update gajim.last_message_time var when a room participant changes his nick. fixes #3555

This commit is contained in:
Yann Leboulanger 2007-11-13 21:59:13 +00:00
parent 0a7669afef
commit 24413948ab
1 changed files with 4 additions and 0 deletions

View File

@ -525,6 +525,10 @@ class MessageWindow:
return return
self._controls[acct][new_jid] = self._controls[acct][old_jid] self._controls[acct][new_jid] = self._controls[acct][old_jid]
del self._controls[acct][old_jid] del self._controls[acct][old_jid]
if old_jid in gajim.last_message_time[acct]:
gajim.last_message_time[acct][new_jid] = \
gajim.last_message_time[acct][old_jid]
del gajim.last_message_time[acct][old_jid]
def controls(self): def controls(self):
for ctrl_dict in self._controls.values(): for ctrl_dict in self._controls.values():