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

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

parent 0a7669af
No related branches found
No related tags found
No related merge requests found
......@@ -525,6 +525,10 @@ class MessageWindow:
return
self._controls[acct][new_jid] = 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):
for ctrl_dict in self._controls.values():
......
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