Prevent a group from being hidden when its renamed in roster.
This commit is contained in:
		
							parent
							
								
									750af45abe
								
							
						
					
					
						commit
						917f6fc3a5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2710,8 +2710,8 @@ class RosterWindow:
 | 
			
		|||
					for jid in gajim.contacts.get_jid_list(acc):
 | 
			
		||||
						contact = gajim.contacts.get_first_contact_from_jid(acc, jid)
 | 
			
		||||
						if old_text in contact.groups:
 | 
			
		||||
							self.remove_contact_from_groups(jid, acc, [old_text,])
 | 
			
		||||
							self.add_contact_to_groups(jid, acc, [new_text,])
 | 
			
		||||
							self.remove_contact_from_groups(jid, acc, [old_text,])
 | 
			
		||||
 | 
			
		||||
		def on_canceled():
 | 
			
		||||
			if 'rename' in gajim.interface.instances:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue