Fixed refactoring artifact
This commit is contained in:
parent
102126b330
commit
22ab1c9553
|
@ -322,7 +322,7 @@ class ProfileWindow:
|
||||||
nick = ''
|
nick = ''
|
||||||
if 'NICKNAME' in vcard_:
|
if 'NICKNAME' in vcard_:
|
||||||
nick = vcard_['NICKNAME']
|
nick = vcard_['NICKNAME']
|
||||||
gajim.connections[self.account].send_nickname(self.account, nick)
|
gajim.connections[self.account].send_nickname(nick)
|
||||||
if nick == '':
|
if nick == '':
|
||||||
nick = gajim.config.get_per('accounts', self.account, 'name')
|
nick = gajim.config.get_per('accounts', self.account, 'name')
|
||||||
gajim.nicks[self.account] = nick
|
gajim.nicks[self.account] = nick
|
||||||
|
|
Loading…
Reference in New Issue