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

[Dicson] fix typo. Fixes #5267

parent 651e8013
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ class MessageWindow(object): ...@@ -165,7 +165,7 @@ class MessageWindow(object):
if old_jid not in self._controls[account]: if old_jid not in self._controls[account]:
return return
self._controls[account][new_jid] = self._controls[account][old_jid] self._controls[account][new_jid] = self._controls[account][old_jid]
del self._controls[account][old_jid] del self._controls[account][old_jid]
def get_num_controls(self): def get_num_controls(self):
return sum(len(d) for d in self._controls.values()) return sum(len(d) for d 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