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
This commit is contained in:
Goffi 2016-09-09 23:54:33 +02:00
commit 78750cb265

View file

@ -600,7 +600,7 @@ class Chat(PrimitivusWidget, quick_chat.QuickChat):
def onDelete(self):
# FIXME: to be checked after refactoring
quick_chat.QuickChat.onDelete(self)
super(Chat, self).onDelete()
if self.type == C.CHAT_GROUP:
self.host.removeListener('presence', self.presenceListener)