Fixed refactoring artifact

This commit is contained in:
red-agent 2009-11-22 20:05:30 +02:00
parent 102126b330
commit 22ab1c9553
1 changed files with 1 additions and 1 deletions

View File

@ -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