changeset 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 5af02673d047
files src/browser/sat_browser/contact_list.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py	Tue Feb 24 16:49:07 2015 +0100
+++ b/src/browser/sat_browser/contact_list.py	Tue Feb 24 18:21:33 2015 +0100
@@ -415,7 +415,7 @@
             self._group_panel.remove(group)
 
         ### JIDS ###
-        to_show = [jid_ for jid_ in self._cache.keys() if self.entityToShow(jid_)]
+        to_show = [jid_ for jid_ in self._cache.keys() if self.entityToShow(jid_) and jid_!=self.whoami.bare]
         to_show.sort()
 
         self._contacts_panel.display(to_show)