# HG changeset patch # User Goffi # Date 1432326697 -7200 # Node ID 798e5e38516b302c8142c684c57a5a3ea511a696 # Parent 0e518415d03af3dd621d961a78e8b7d7f9b47f11 quick_frontend (quick_app): properly fixed roster loss: commit 6adf1b0be609 which was causing issues in Libervia or when a profile was already connected diff -r 0e518415d03a -r 798e5e38516b frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Fri Apr 24 16:10:46 2015 +0200 +++ b/frontends/src/quick_frontend/quick_app.py Fri May 22 22:31:37 2015 +0200 @@ -98,6 +98,8 @@ 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 -r 0e518415d03a -r 798e5e38516b frontends/src/quick_frontend/quick_contact_list.py --- a/frontends/src/quick_frontend/quick_contact_list.py Fri Apr 24 16:10:46 2015 +0200 +++ b/frontends/src/quick_frontend/quick_contact_list.py Fri May 22 22:31:37 2015 +0200 @@ -135,7 +135,11 @@ 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)