Mercurial > libervia-backend
changeset 2141:35762e9ce8b9
primitivus: fixed resources diplay in contact list
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 Feb 2017 20:51:56 +0100 (2017-02-06) |
parents | f79935f41125 |
children | be96beb7ca14 |
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 Mon Feb 06 20:47:36 2017 +0100 +++ b/frontends/src/primitivus/contact_list.py Mon Feb 06 20:51:56 2017 +0100 @@ -236,7 +236,7 @@ markup_extra = [] if self.contact_list.show_resources: for resource in self.contact_list.getCache(entity, C.CONTACT_RESOURCES): - resource_disp = ('resource_main' if resource == self.getCache(entity, C.CONTACT_MAIN_RESOURCE) else 'resource', "\n " + resource) + resource_disp = ('resource_main' if resource == self.contact_list.getCache(entity, C.CONTACT_MAIN_RESOURCE) else 'resource', "\n " + resource) markup_extra.append(resource_disp) if self.contact_list.show_status: status = self.contact_list.getCache(jid.JID('%s/%s' % (entity, resource)), 'status')