changeset 1344:1679ac59f701 frontends_multi_profiles

primitivus (contact list): removed our own bare jid from not_in_roster
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 18:21:03 +0100
parents ec9e58357a07
children b26dd78de495
files frontends/src/primitivus/contact_list.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py	Tue Feb 24 18:20:34 2015 +0100
+++ b/frontends/src/primitivus/contact_list.py	Tue Feb 24 18:21:03 2015 +0100
@@ -304,7 +304,7 @@
                 urwid.connect_signal(widget, 'click', self._groupClicked)
             if not folded:
                 self._buildEntities(content, jids)
-        not_in_roster = set(self._cache).difference(self._roster).difference(self._specials)
+        not_in_roster = set(self._cache).difference(self._roster).difference(self._specials).difference((self.whoami.bare,))
         if not_in_roster:
             content.append(urwid.Divider('-'))
             self._buildEntities(content, not_in_roster)