print priority in infoUser window
This commit is contained in:
parent
f0214b0ac6
commit
5d3082598e
|
@ -161,13 +161,13 @@ class infoUser_Window:
|
|||
self.xml.get_widget('label_id').set_text(user.jid)
|
||||
self.xml.get_widget('label_sub').set_text(user.sub)
|
||||
self.xml.get_widget('entry_name').set_text(user.name)
|
||||
resources = user.resource
|
||||
resources = user.resource + ' (' + user.priority + ')'
|
||||
if not user.status:
|
||||
user.status = ''
|
||||
stats = user.show + ' : ' + user.status
|
||||
for u in self.plugin.roster.contacts[account][user.jid]:
|
||||
if u.resource != user.resource:
|
||||
resources += '\n' + u.resource
|
||||
resources += '\n' + u.resource + ' (' + u.priority + ')'
|
||||
if not u.status:
|
||||
u.status = ''
|
||||
stats += '\n' + u.show + ' : ' + u.status
|
||||
|
|
Loading…
Reference in New Issue