From f6a0fe472447c7f142a699b36e4f50f271deff6d Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Thu, 1 Feb 2007 14:51:14 +0000
Subject: [PATCH] Don't store avatar sha until we really have avatar. Fixes
 #2956.

---
 ChangeLog                         | 3 +++
 src/common/connection_handlers.py | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 47e3437463..de87831188 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index d2959faffd..7488f56590 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -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(),
-- 
GitLab