quick frontend (contact list): added "contactsFilled" event

This commit is contained in:
Goffi 2019-10-29 20:24:29 +01:00
commit fb2dc9b7a0

View file

@ -297,9 +297,8 @@ class QuickApp(object):
self.menus = quick_menus.QuickMenusManager(self)
ProfileManager.host = self
self.profiles = ProfilesManager()
self._plugs_in_progress = (
set()
) # profiles currently being plugged, used to (un)lock contact list updates
# profiles currently being plugged, used to (un)lock contact list updates
self._plugs_in_progress = set()
self.ready_profiles = set() # profiles which are connected and ready
self.signals_cache = {} # used to keep signal received between start of
# plug_profile and when the profile is actualy ready
@ -528,6 +527,8 @@ class QuickApp(object):
/!\ don't forget to remove listener when not used anymore (e.g. if you delete a
widget)
@param type_: type of event, can be:
- contactsFilled: called when contact have been fully filled for a profiles
kwargs: profile
- avatar: called when avatar data is updated
args: (entity, avatar file, profile)
- nick: called when nick data is updated