contact in not in the roster can be added to the roster
This commit is contained in:
		
							parent
							
								
									f466590c7b
								
							
						
					
					
						commit
						1060ab1dbe
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -366,7 +366,8 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
 | 
			
		|||
			return
 | 
			
		||||
 | 
			
		||||
		# Check if jid is already in roster
 | 
			
		||||
		if jid in gajim.contacts[self.account]:
 | 
			
		||||
		if jid in gajim.contacts[self.account] and _('not in the roster') not in \
 | 
			
		||||
			gajim.contacts[self.account][jid][0].groups:
 | 
			
		||||
			ErrorDialog(_('Contact already in roster'),
 | 
			
		||||
			_('The contact is already listed in your roster.')).get_response()
 | 
			
		||||
			return
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue