Don't store avatar sha until we really have avatar. Fixes #2956.
This commit is contained in:
parent
32ca86db03
commit
f6a0fe4724
|
@ -1,3 +1,6 @@
|
||||||
|
Gajim 0.11.1 (XX February 2007)
|
||||||
|
* Fixed avatars cache problems in group chats
|
||||||
|
|
||||||
Gajim 0.11 (19 December 2006)
|
Gajim 0.11 (19 December 2006)
|
||||||
* New build system, using GNU autotools. See README.html
|
* New build system, using GNU autotools. See README.html
|
||||||
* Support for link-local messaging via Zeroconf using Avahi (XEP-0174)
|
* Support for link-local messaging via Zeroconf using Avahi (XEP-0174)
|
||||||
|
|
|
@ -1685,7 +1685,6 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
if cached_sha != self.vcard_shas[who]:
|
if cached_sha != self.vcard_shas[who]:
|
||||||
# avatar has been updated
|
# avatar has been updated
|
||||||
self.request_vcard(who)
|
self.request_vcard(who)
|
||||||
self.vcard_shas[who] = avatar_sha
|
|
||||||
self.dispatch('GC_NOTIFY', (jid_stripped, show, status, resource,
|
self.dispatch('GC_NOTIFY', (jid_stripped, show, status, resource,
|
||||||
prs.getRole(), prs.getAffiliation(), prs.getJid(),
|
prs.getRole(), prs.getAffiliation(), prs.getJid(),
|
||||||
prs.getReason(), prs.getActor(), prs.getStatusCode(),
|
prs.getReason(), prs.getActor(), prs.getStatusCode(),
|
||||||
|
|
Loading…
Reference in New Issue