Remove TODO which was more or less a "might be useful one day"
This commit is contained in:
parent
a53e906a92
commit
07c008cbaa
|
@ -431,16 +431,13 @@ class UserNicknamePEP(AbstractPEP):
|
||||||
return (nick, retracted)
|
return (nick, retracted)
|
||||||
|
|
||||||
def _update_contacts(self, jid, account):
|
def _update_contacts(self, jid, account):
|
||||||
# TODO: use dict instead
|
|
||||||
nick = '' if self._retracted else self._pep_specific_data
|
nick = '' if self._retracted else self._pep_specific_data
|
||||||
for contact in gajim.contacts.get_contacts(account, jid):
|
for contact in gajim.contacts.get_contacts(account, jid):
|
||||||
contact.contact_name = nick
|
contact.contact_name = nick
|
||||||
|
|
||||||
def _update_account(self, account):
|
def _update_account(self, account):
|
||||||
# TODO: use dict instead
|
|
||||||
if self._retracted:
|
if self._retracted:
|
||||||
gajim.nicks[account] = gajim.config.get_per('accounts',
|
gajim.nicks[account] = gajim.config.get_per('accounts', account, 'name')
|
||||||
account, 'name')
|
|
||||||
else:
|
else:
|
||||||
gajim.nicks[account] = self._pep_specific_data
|
gajim.nicks[account] = self._pep_specific_data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue