nicks[account] already has a default value
This commit is contained in:
		
							parent
							
								
									2db9bfb9ce
								
							
						
					
					
						commit
						b2990a7bdf
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -506,9 +506,8 @@ class Interface:
 | 
			
		|||
		nick = ''
 | 
			
		||||
		if array.has_key('NICKNAME'):
 | 
			
		||||
			nick = array['NICKNAME']
 | 
			
		||||
		if nick == '':
 | 
			
		||||
			nick = gajim.config.get_per('accounts', account, 'name')
 | 
			
		||||
		self.nicks[account] = nick
 | 
			
		||||
			if nick:
 | 
			
		||||
				self.nicks[account] = nick
 | 
			
		||||
 | 
			
		||||
	def handle_event_vcard(self, account, array):
 | 
			
		||||
		win = None
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue