changeset 1343:ec9e58357a07 frontends_multi_profiles

quick frontends (contact list): added self.whoami
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 18:20:34 +0100
parents e31a07a5614d
children 1679ac59f701
files frontends/src/quick_frontend/quick_contact_list.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_contact_list.py	Tue Feb 24 17:14:10 2015 +0100
+++ b/frontends/src/quick_frontend/quick_contact_list.py	Tue Feb 24 18:20:34 2015 +0100
@@ -63,6 +63,9 @@
         # selected entities, full jid
         self._selected = set()
 
+        # we keep our own jid
+        self.whoami = host.profiles[profile].whoami
+
         # options
         self.show_disconnected = False
         self.show_empty_groups = True