From 07c008cbaafd788d193f0de75e27793e8ec147aa Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sun, 22 Nov 2009 22:10:55 +0100 Subject: [PATCH] Remove TODO which was more or less a "might be useful one day" --- src/common/pep.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/pep.py b/src/common/pep.py index 0195341a7..a991c35c7 100644 --- a/src/common/pep.py +++ b/src/common/pep.py @@ -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