comparison frontends/src/quick_frontend/quick_app.py @ 1429:798e5e38516b

quick_frontend (quick_app): properly fixed roster loss: commit 6adf1b0be609 which was causing issues in Libervia or when a profile was already connected
author Goffi <goffi@goffi.org>
date Fri, 22 May 2015 22:31:37 +0200
parents 6adf1b0be609
children 7590bbf44eed
comparison
equal deleted inserted replaced
1428:0e518415d03a 1429:798e5e38516b
96 contact_list.setCache(jid.JID(entity), key, value) 96 contact_list.setCache(jid.JID(entity), key, value)
97 97
98 if not self.bridge.isConnected(self.profile): 98 if not self.bridge.isConnected(self.profile):
99 self.host.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=self.profile) 99 self.host.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=self.profile)
100 else: 100 else:
101
102 contact_list.fill()
101 self.host.setPresenceStatus(profile=self.profile) 103 self.host.setPresenceStatus(profile=self.profile)
102 104
103 #The waiting subscription requests 105 #The waiting subscription requests
104 self.bridge.getWaitingSub(self.profile, callback=self._plug_profile_gotWaitingSub) 106 self.bridge.getWaitingSub(self.profile, callback=self._plug_profile_gotWaitingSub)
105 107