diff --git a/frontends/src/quick_frontend/quick_app.py b/frontends/src/quick_frontend/quick_app.py index 15ed0be6..3cb3acb3 100644 --- a/frontends/src/quick_frontend/quick_app.py +++ b/frontends/src/quick_frontend/quick_app.py @@ -98,6 +98,8 @@ class ProfileManager(object): if not self.bridge.isConnected(self.profile): self.host.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=self.profile) else: + + contact_list.fill() self.host.setPresenceStatus(profile=self.profile) #The waiting subscription requests diff --git a/frontends/src/quick_frontend/quick_contact_list.py b/frontends/src/quick_frontend/quick_contact_list.py index abf76c15..0b402f53 100644 --- a/frontends/src/quick_frontend/quick_contact_list.py +++ b/frontends/src/quick_frontend/quick_contact_list.py @@ -135,7 +135,11 @@ class QuickContactList(QuickWidget): return result def fill(self): - """Get all contacts from backend, and fill the widget""" + """Get all contacts from backend, and fill the widget + + Contacts will be cleared before refilling them + """ + self.clearContacts() def gotContacts(contacts): for contact in contacts: self.host.newContactHandler(*contact, profile=self.profile)