[Dicson] fix typo. Fixes #5267
This commit is contained in:
parent
651e801334
commit
da29844342
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Add table
Reference in a new issue