guess better about contact protocol

This commit is contained in:
Nikos Kouremenos 2005-06-06 10:52:51 +00:00
parent cec2a46e4f
commit 152b5bde54
1 changed files with 7 additions and 7 deletions

View File

@ -189,19 +189,19 @@ class Roster_window:
host = jid.split('@')[-1] host = jid.split('@')[-1]
if host.startswith('aim.'): if host.startswith('aim'):
state_images = self.transports_state_images['aim'] state_images = self.transports_state_images['aim']
elif host.startswith('gadugadu.'): elif host.startswith('gadugadu'):
state_images = self.transports_state_images['gadugadu'] state_images = self.transports_state_images['gadugadu']
elif host.startswith('irc.'): elif host.startswith('irc'):
state_images = self.transports_state_images['irc'] state_images = self.transports_state_images['irc']
elif host.startswith('icq.'): elif host.startswith('icq'): # abc@icqsucks.org will match as ICQ, but what to do..
state_images = self.transports_state_images['icq'] state_images = self.transports_state_images['icq']
elif host.startswith('msn.'): elif host.startswith('msn'):
state_images = self.transports_state_images['msn'] state_images = self.transports_state_images['msn']
elif host.startswith('sms.'): elif host.startswith('sms'):
state_images = self.transports_state_images['sms'] state_images = self.transports_state_images['sms']
elif host.startswith('yahoo.'): elif host.startswith('yahoo'):
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