avoid marking foo@jaim.net as AIM
This commit is contained in:
parent
87d90e7aaf
commit
02b74ceed4
|
@ -189,15 +189,15 @@ class Roster_window:
|
||||||
|
|
||||||
host = jid.split('@')[-1]
|
host = jid.split('@')[-1]
|
||||||
|
|
||||||
if host.find('aim.') != -1:
|
if host.find('aim.') == 0:
|
||||||
state_images = self.transports_state_images['aim']
|
state_images = self.transports_state_images['aim']
|
||||||
elif host.find('gadugadu.') != -1:
|
elif host.find('gadugadu.') == 0:
|
||||||
state_images = self.transports_state_images['gadugadu']
|
state_images = self.transports_state_images['gadugadu']
|
||||||
elif host.find('icq.') != -1:
|
elif host.find('icq.') == 0:
|
||||||
state_images = self.transports_state_images['icq']
|
state_images = self.transports_state_images['icq']
|
||||||
elif host.find('msn.') != -1:
|
elif host.find('msn.') == 0:
|
||||||
state_images = self.transports_state_images['msn']
|
state_images = self.transports_state_images['msn']
|
||||||
elif host.find('yahoo.') != -1:
|
elif host.find('yahoo.') == 0:
|
||||||
state_images = self.transports_state_images['yahoo']
|
state_images = self.transports_state_images['yahoo']
|
||||||
else:
|
else:
|
||||||
state_images = self.jabber_state_images
|
state_images = self.jabber_state_images
|
||||||
|
|
Loading…
Reference in New Issue