quick frontend (contact list): fixed profile filtering in fill()

This commit is contained in:
Goffi 2019-04-07 20:59:34 +02:00
commit a9fc7c9650

View file

@ -967,7 +967,7 @@ class QuickContactListHandler(object):
except AttributeError:
to_fill = self._to_fill = set()
# if check if profiles have already been filled
# we check if profiles have already been filled
# to void filling them several times
filled = to_fill.copy()
@ -975,7 +975,7 @@ class QuickContactListHandler(object):
assert profile in self._clist
to_fill.add(profile)
else:
to_fill.update(self._clist.items())
to_fill.update(self._clist.keys())
remaining = to_fill.difference(filled)
if remaining != to_fill: