when sub = 'to' and we remove contact (but allow other side to see our status) completely remove contact
This commit is contained in:
		
							parent
							
								
									b7e4465ed5
								
							
						
					
					
						commit
						6ecdbb7470
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1708,7 +1708,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
 | 
			
		|||
			for u in gajim.contacts.get_contact(account, contact.jid):
 | 
			
		||||
				self.remove_contact(u, account)
 | 
			
		||||
			gajim.contacts.remove_jid(account, u.jid)
 | 
			
		||||
			if not remove_auth:
 | 
			
		||||
			if not remove_auth and contact.sub == 'both':
 | 
			
		||||
				contact.name = ''
 | 
			
		||||
				contact.groups = []
 | 
			
		||||
				contact.sub = 'from'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue