remove chekcing for dot

This commit is contained in:
Nikos Kouremenos 2005-12-12 15:11:51 +00:00
parent 32fbe2729c
commit cc76b95f9d
1 changed files with 8 additions and 10 deletions

View File

@ -230,8 +230,6 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
host = jid.split('@')[-1] host = jid.split('@')[-1]
if host.startswith('aim'): if host.startswith('aim'):
return 'aim' return 'aim'
elif host.startswith('gadugadu'):
return 'gadugadu'
elif host.startswith('gg'): elif host.startswith('gg'):
return 'gadugadu' return 'gadugadu'
elif host.startswith('irc'): elif host.startswith('irc'):
@ -253,14 +251,14 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
return None return None
def jid_is_transport(jid): def jid_is_transport(jid):
aim = jid.startswith('aim.') aim = jid.startswith('aim')
gg = jid.startswith('gg.') # gadugadu gg = jid.startswith('gg') # gadugadu
irc = jid.startswith('irc.') irc = jid.startswith('irc')
icq = jid.startswith('icq.') icq = jid.startswith('icq')
msn = jid.startswith('msn.') msn = jid.startswith('msn')
sms = jid.startswith('sms.') sms = jid.startswith('sms')
tlen = jid.startswith('tlen.') tlen = jid.startswith('tlen')
yahoo = jid.startswith('yahoo.') yahoo = jid.startswith('yahoo')
if aim or gg or irc or icq or msn or sms or yahoo or tlen: if aim or gg or irc or icq or msn or sms or yahoo or tlen:
is_transport = True is_transport = True