prevent a traceback with completion. Fixes #4461

This commit is contained in:
Yann Leboulanger 2008-11-09 21:40:14 +00:00
parent 015a4ac038
commit 1078112473
1 changed files with 2 additions and 0 deletions

View File

@ -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: