fix TB
This commit is contained in:
parent
de7b906254
commit
380bce1160
|
@ -533,9 +533,9 @@ def get_global_show():
|
||||||
maxi = connected
|
maxi = connected
|
||||||
return gajim.SHOW_LIST[maxi]
|
return gajim.SHOW_LIST[maxi]
|
||||||
|
|
||||||
def get_icon_name_to_show(contact, account):
|
def get_icon_name_to_show(contact, account = None):
|
||||||
'''Get the icon name to show in online, away, requested, ...'''
|
'''Get the icon name to show in online, away, requested, ...'''
|
||||||
if gajim.awaiting_events[account].has_key(contact.jid):
|
if account and gajim.awaiting_events[account].has_key(contact.jid):
|
||||||
#FIXME: change icon for FT
|
#FIXME: change icon for FT
|
||||||
return 'message'
|
return 'message'
|
||||||
if contact.jid.find('@') <= 0: # if not '@' or '@' starts the jid ==> agent
|
if contact.jid.find('@') <= 0: # if not '@' or '@' starts the jid ==> agent
|
||||||
|
|
Loading…
Reference in New Issue