diff frontends/src/primitivus/chat.py @ 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 62a99c214b57
children 4f3ebf786fbc
line wrap: on
line diff
--- a/frontends/src/primitivus/chat.py	Fri Sep 09 23:54:33 2016 +0200
+++ b/frontends/src/primitivus/chat.py	Fri Sep 09 23:54:33 2016 +0200
@@ -600,7 +600,7 @@
 
     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)