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

prevent a traceback with completion. Fixes #4461

parent 015a4ac0
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,8 @@ class HistoryWindow:
if actual_jid in keys:
keys.remove(actual_jid)
keys.insert(0, actual_jid)
if None in keys:
keys.remove(None)
# Map jid to info tuple
# Warning : This for is time critical with big DB
for key in keys:
......
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