Groupchat: Dont update avatar on offline presence
This commit is contained in:
		
							parent
							
								
									3a6e1ac9fc
								
							
						
					
					
						commit
						2c7861bc1d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -313,6 +313,9 @@ class ConnectionVcard:
 | 
			
		|||
        if server.startswith('irc') or obj.avatar_sha is None:
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        if obj.show == 'offline':
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        gc_contact = app.contacts.get_gc_contact(
 | 
			
		||||
            self.name, obj.room_jid, obj.nick)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue