Redraw family after readding. See r9894
This commit is contained in:
		
							parent
							
								
									0bb1f1d656
								
							
						
					
					
						commit
						40c2b97c99
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -710,10 +710,12 @@ class RosterWindow: | ||||||
| 				# Remove contact before redrawing, otherwise the old | 				# Remove contact before redrawing, otherwise the old | ||||||
| 				# numbers will still be show | 				# numbers will still be show | ||||||
| 				gajim.contacts.remove_jid(account, jid, remove_meta=True) | 				gajim.contacts.remove_jid(account, jid, remove_meta=True) | ||||||
| 				family = gajim.contacts.get_metacontacts_family(account, jid) |  | ||||||
| 				if family: | 				if family: | ||||||
| 					# reshow the rest of the family | 					# reshow the rest of the family | ||||||
| 					self._add_metacontact_family(family, account) | 					brothers = self._add_metacontact_family(family, account) | ||||||
|  | 					for c, acc in brothers: | ||||||
|  | 						self.draw_contact(c.jid, acc) | ||||||
|  | 						self.draw_avatar(c.jid, acc) | ||||||
| 
 | 
 | ||||||
| 			# Draw all groups of the contact | 			# Draw all groups of the contact | ||||||
| 			for group in contact.get_shown_groups(): | 			for group in contact.get_shown_groups(): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue