comparison src/browser/sat_browser/contact_list.py @ 641:f5145881723a frontends_multi_profiles

browser side (contact list): removed our own bare jid from contact list
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 18:21:33 +0100
parents 75715f5c95e3
children e0021d571eef
comparison
equal deleted inserted replaced
640:75715f5c95e3 641:f5145881723a
413 self._group_panel.add(group) 413 self._group_panel.add(group)
414 for group in removed_groups: 414 for group in removed_groups:
415 self._group_panel.remove(group) 415 self._group_panel.remove(group)
416 416
417 ### JIDS ### 417 ### JIDS ###
418 to_show = [jid_ for jid_ in self._cache.keys() if self.entityToShow(jid_)] 418 to_show = [jid_ for jid_ in self._cache.keys() if self.entityToShow(jid_) and jid_!=self.whoami.bare]
419 to_show.sort() 419 to_show.sort()
420 420
421 self._contacts_panel.display(to_show) 421 self._contacts_panel.display(to_show)
422 422
423 for jid_ in self._alerts: 423 for jid_ in self._alerts: