Skip to content
Snippets Groups Projects
Commit b2990a7b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

nicks[account] already has a default value

parent 2db9bfb9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment