primitivus: fixed resources diplay in contact list
This commit is contained in:
parent
4ed0785563
commit
6a8102b109
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue