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,8 +506,7 @@ class Interface:
|
||||||
nick = ''
|
nick = ''
|
||||||
if array.has_key('NICKNAME'):
|
if array.has_key('NICKNAME'):
|
||||||
nick = array['NICKNAME']
|
nick = array['NICKNAME']
|
||||||
if nick == '':
|
if nick:
|
||||||
nick = gajim.config.get_per('accounts', account, 'name')
|
|
||||||
self.nicks[account] = nick
|
self.nicks[account] = nick
|
||||||
|
|
||||||
def handle_event_vcard(self, account, array):
|
def handle_event_vcard(self, account, array):
|
||||||
|
|
Loading…
Add table
Reference in a new issue