fix TB when an account is online when we show account tooltip

This commit is contained in:
Yann Leboulanger 2005-09-22 15:53:27 +00:00
parent a286f42b34
commit 49cef57a9d
1 changed files with 3 additions and 0 deletions

View File

@ -708,6 +708,9 @@ class RosterWindow:
resources = roster.getResources(jid)
# ...get the contact info for our other online resources
for resource in resources:
show = roster.getShow(jid+'/'+resource)
if not show:
show = 'online'
contact = Contact(jid=jid, name=account,
show=roster.getShow(jid+'/'+resource),
status=roster.getStatus(jid+'/'+resource), resource=resource,