# HG changeset patch # User Goffi # Date 1473458073 -7200 # Node ID 9dd76a5b63bab376c23de703c0c3731bdc1eb108 # Parent b4db946ddc89040dd61c80ad2d81ab5bf3f0c1f2 quick app(app): call entityDataUpdateHandler on profile plug instead of setCache directly diff -r b4db946ddc89 -r 9dd76a5b63ba frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Fri Sep 09 23:54:32 2016 +0200 +++ b/frontends/src/quick_frontend/quick_app.py Fri Sep 09 23:54:33 2016 +0200 @@ -96,9 +96,9 @@ # add the contact list and its listener contact_list = self.host.contact_lists.addProfile(self.profile) - for entity, data in cached_values.iteritems(): + for entity_s, data in cached_values.iteritems(): for key, value in data.iteritems(): - contact_list.setCache(jid.JID(entity), key, value) + self.host.entityDataUpdatedHandler(entity_s, key, value, self.profile) if not self.bridge.isConnected(self.profile): self.host.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=self.profile)