# HG changeset patch # User Goffi # Date 1323725215 -3600 # Node ID 6d1f4a3da29beea00a5ea3e07cfd9aac0b24771b # Parent 5cb852d9757eccac9d0254a5afdb94fefc5ed9b3 server: fixed buggy vcard cache retrieving, fixes avatar issue diff -r 5cb852d9757e -r 6d1f4a3da29b libervia.tac --- a/libervia.tac Sat Dec 10 12:26:43 2011 +0100 +++ b/libervia.tac Mon Dec 12 22:26:55 2011 +0100 @@ -277,7 +277,8 @@ """Get the avatar of a contact @param jid: jid of contact from who we want the avatar @return: path to the avatar image""" - return self.sat_host.bridge.getCardCache(jid) + profile = ISATSession(self.session).profile + return self.sat_host.bridge.getCardCache(jid, profile) class Register(jsonrpc.JSONRPC): """This class manage the registration procedure with SàT