# HG changeset patch # User Goffi # Date 1486410716 -3600 # Node ID 35762e9ce8b926fa4b6bc3c8780dec42cf722e3a # Parent f79935f411251e2e2a0c0f5403038c7dfb94e529 primitivus: fixed resources diplay in contact list diff -r f79935f41125 -r 35762e9ce8b9 frontends/src/primitivus/contact_list.py --- 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')