Don't store avatar sha until we really have avatar. Fixes #2956.
This commit is contained in:
		
							parent
							
								
									32ca86db03
								
							
						
					
					
						commit
						f6a0fe4724
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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(),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue