Mercurial > libervia-backend
diff frontends/src/primitivus/primitivus @ 2067:7834743705f0
quich frontend, primivius (chat): better avatar handling:
- new getAvatar method in QuickApp which request vCard if avatar if needed and return default avatar is no avatar is found
- frontends based on quick frontend can now specify if they handle avatar or not using AVATARS_HANDLER
- when avatar is updated, occupant widget(s) and all message widget(s) of the concerned entity are updated
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 09 Sep 2016 23:54:33 +0200 |
parents | 046449cc2bff |
children | 4633cfcbcccb |
line wrap: on
line diff
--- a/frontends/src/primitivus/primitivus Fri Sep 09 23:54:33 2016 +0200 +++ b/frontends/src/primitivus/primitivus Fri Sep 09 23:54:33 2016 +0200 @@ -272,7 +272,8 @@ class PrimitivusApp(QuickApp, InputHistory): - MB_HANDLE = False + MB_HANDLER = False + AVATAR_HANDLER = False def __init__(self): QuickApp.__init__(self, create_bridge=DBusBridgeFrontend, xmlui=xmlui, check_options=quick_utils.check_options)