Mercurial > libervia-backend
diff frontends/src/primitivus/contact_list.py @ 507:f98bef71a918
frontends, core, plugin XEP-0045: leave implementation + better nick change
- memory: individual entity cache can be deleted
- plugin XEP-0045: nick change are now detected and userChangedNick signal is sent instead of joined/left
- plugin XEP-0045: leave implementation
- frontends: userChangedNick signal management
- Primitivus: an alert is shown in notification bar in case of error in sendMessage
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Sep 2012 00:26:24 +0200 |
parents | debcf5dd404a |
children | 886754295efe |
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py Thu Sep 27 00:54:42 2012 +0200 +++ b/frontends/src/primitivus/contact_list.py Fri Sep 28 00:26:24 2012 +0200 @@ -239,6 +239,10 @@ groups_to_remove.append(group) for group in groups_to_remove: del self.groups[group] + try: + del self.special[jid.short] + except KeyError: + pass self.update() def add(self, jid, param_groups=[None]):