fixing #221
This commit is contained in:
parent
91d058fda4
commit
73f6e4d758
|
@ -177,18 +177,19 @@ class Roster_window:
|
||||||
'''check jid and return the appropriate state images dict'''
|
'''check jid and return the appropriate state images dict'''
|
||||||
if not jid: # we don't have the jid of the contact (in gc)
|
if not jid: # we don't have the jid of the contact (in gc)
|
||||||
state_images = self.jabber_state_images
|
state_images = self.jabber_state_images
|
||||||
if jid.find('@aim.') != -1:
|
else: # it's not GC so we have the jid
|
||||||
state_images = self.transports_state_images['aim']
|
if jid.find('@aim.') != -1:
|
||||||
elif jid.find('@gadugadu.') != -1:
|
state_images = self.transports_state_images['aim']
|
||||||
state_images = self.transports_state_images['gadugadu']
|
elif jid.find('@gadugadu.') != -1:
|
||||||
elif jid.find('@icq.') != -1:
|
state_images = self.transports_state_images['gadugadu']
|
||||||
state_images = self.transports_state_images['icq']
|
elif jid.find('@icq.') != -1:
|
||||||
elif jid.find('@msn.') != -1:
|
state_images = self.transports_state_images['icq']
|
||||||
state_images = self.transports_state_images['msn']
|
elif jid.find('@msn.') != -1:
|
||||||
elif jid.find('@yahoo.') != -1:
|
state_images = self.transports_state_images['msn']
|
||||||
state_images = self.transports_state_images['yahoo']
|
elif jid.find('@yahoo.') != -1:
|
||||||
else: #jabber
|
state_images = self.transports_state_images['yahoo']
|
||||||
state_images = self.jabber_state_images
|
else: #jabber
|
||||||
|
state_images = self.jabber_state_images
|
||||||
|
|
||||||
return state_images
|
return state_images
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue