Mercurial > libervia-backend
diff frontends/src/wix/contact_list.py @ 688:f7878ad3c846
tools: renamed tools.jid.JID attribute "short" to "bare"
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 29 Oct 2013 16:26:55 +0100 |
parents | 0b9bd47dffcd |
children | 6246eb6d64a0 |
line wrap: on
line diff
--- a/frontends/src/wix/contact_list.py Mon Oct 28 19:04:49 2013 +0100 +++ b/frontends/src/wix/contact_list.py Tue Oct 29 16:26:55 2013 +0100 @@ -65,7 +65,7 @@ @return: list of indexes""" result=[] for i in range(self.GetCount()): - if (type(entity) == JID and type(self.GetClientData(i)) == JID and self.GetClientData(i).short == entity.short) or\ + if (type(entity) == JID and type(self.GetClientData(i)) == JID and self.GetClientData(i).bare == entity.bare) or\ self.GetClientData(i) == entity: result.append(i) return result @@ -136,7 +136,7 @@ </td> </table> """ % (avatar, - escape(nick or name or jid.node or jid.short), + escape(nick or name or jid.node or jid.bare), show_html, escape(status))