From 6a8102b109d04698694885fea4852e522acac63d Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 6 Feb 2017 20:51:56 +0100 Subject: [PATCH] primitivus: fixed resources diplay in contact list --- frontends/src/primitivus/contact_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/src/primitivus/contact_list.py b/frontends/src/primitivus/contact_list.py index f6f82571..9ef2be5a 100644 --- a/frontends/src/primitivus/contact_list.py +++ b/frontends/src/primitivus/contact_list.py @@ -236,7 +236,7 @@ class ContactList(PrimitivusWidget, QuickContactList): 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')