Don't store avatar sha until we really have avatar. Fixes #2956.

This commit is contained in:
Jean-Marie Traissard 2007-02-01 14:51:14 +00:00
parent 32ca86db03
commit f6a0fe4724
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Gajim 0.11.1 (XX February 2007)
* Fixed avatars cache problems in group chats
Gajim 0.11 (19 December 2006)
* New build system, using GNU autotools. See README.html
* Support for link-local messaging via Zeroconf using Avahi (XEP-0174)

View File

@ -1685,7 +1685,6 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
if cached_sha != self.vcard_shas[who]:
# avatar has been updated
self.request_vcard(who)
self.vcard_shas[who] = avatar_sha
self.dispatch('GC_NOTIFY', (jid_stripped, show, status, resource,
prs.getRole(), prs.getAffiliation(), prs.getJid(),
prs.getReason(), prs.getActor(), prs.getStatusCode(),