Mercurial > libervia-backend
diff frontends/src/primitivus/contact_list.py @ 1342:e31a07a5614d frontends_multi_profiles
quick_frontends, primitivus (contact list): added nick observer + implemented onNickUpdate
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 17:14:10 +0100 |
parents | 18cd46a264e9 |
children | 1679ac59f701 |
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py Tue Feb 24 17:01:33 2015 +0100 +++ b/frontends/src/primitivus/contact_list.py Tue Feb 24 17:14:10 2015 +0100 @@ -152,6 +152,9 @@ super(ContactList, self).onPresenceUpdate(entity, show, priority, statuses, profile) self.update() + def onNickUpdate(self, entity, new_nick, profile): + self.update() + # Methods to build the widget def _buildEntityWidget(self, entity, keys=None, use_bare_jid=False, with_alert=True, with_show_attr=True, markup_prepend=None, markup_append = None):