Skip to content
Snippets Groups Projects
Commit 07c008cb authored by steve-e's avatar steve-e
Browse files

Remove TODO which was more or less a "might be useful one day"

parent a53e906a
No related branches found
No related tags found
No related merge requests found
......@@ -431,16 +431,13 @@ class UserNicknamePEP(AbstractPEP):
return (nick, retracted)
def _update_contacts(self, jid, account):
# TODO: use dict instead
nick = '' if self._retracted else self._pep_specific_data
for contact in gajim.contacts.get_contacts(account, jid):
contact.contact_name = nick
def _update_account(self, account):
# TODO: use dict instead
if self._retracted:
gajim.nicks[account] = gajim.config.get_per('accounts',
account, 'name')
gajim.nicks[account] = gajim.config.get_per('accounts', account, 'name')
else:
gajim.nicks[account] = self._pep_specific_data
......
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