# HG changeset patch # User souliane # Date 1429541177 -7200 # Node ID 6adf1b0be609c21630a1ac6fbc4dc5fb57e6fe57 # Parent 176de79c8c39e1fd27ba4fc57e3a1508d207ebc3 quick_frontend: ask for the roster in connectedHandler instead of in ProfileManager, because we need it also when reconnecting after a disconnection whithout restarting the frontend diff -r 176de79c8c39 -r 6adf1b0be609 frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Mon Apr 20 16:39:38 2015 +0200 +++ b/frontends/src/quick_frontend/quick_app.py Mon Apr 20 16:46:17 2015 +0200 @@ -98,8 +98,6 @@ 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 @@ -443,6 +441,7 @@ """called when the connection is made""" log.debug(_("Connected")) self.setPresenceStatus(profile=profile) + self.contact_lists[profile].fill() def disconnectedHandler(self, profile): """called when the connection is closed"""