From 49cef57a9d8a245682cfa7bcd7654ae7fdf2830a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 22 Sep 2005 15:53:27 +0000 Subject: [PATCH] fix TB when an account is online when we show account tooltip --- src/roster_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 224f3e31b..bd09f250e 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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,