fix TB when an account is online when we show account tooltip
This commit is contained in:
parent
a286f42b34
commit
49cef57a9d
|
@ -708,6 +708,9 @@ class RosterWindow:
|
||||||
resources = roster.getResources(jid)
|
resources = roster.getResources(jid)
|
||||||
# ...get the contact info for our other online resources
|
# ...get the contact info for our other online resources
|
||||||
for resource in resources:
|
for resource in resources:
|
||||||
|
show = roster.getShow(jid+'/'+resource)
|
||||||
|
if not show:
|
||||||
|
show = 'online'
|
||||||
contact = Contact(jid=jid, name=account,
|
contact = Contact(jid=jid, name=account,
|
||||||
show=roster.getShow(jid+'/'+resource),
|
show=roster.getShow(jid+'/'+resource),
|
||||||
status=roster.getStatus(jid+'/'+resource), resource=resource,
|
status=roster.getStatus(jid+'/'+resource), resource=resource,
|
||||||
|
|
Loading…
Reference in New Issue