Skip to content
Snippets Groups Projects
Commit cc76b95f authored by nkour's avatar nkour
Browse files

remove chekcing for dot

parent 32fbe272
No related branches found
No related tags found
No related merge requests found
......@@ -230,8 +230,6 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
host = jid.split('@')[-1]
if host.startswith('aim'):
return 'aim'
elif host.startswith('gadugadu'):
return 'gadugadu'
elif host.startswith('gg'):
return 'gadugadu'
elif host.startswith('irc'):
......@@ -253,14 +251,14 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
return None
def jid_is_transport(jid):
aim = jid.startswith('aim.')
gg = jid.startswith('gg.') # gadugadu
irc = jid.startswith('irc.')
icq = jid.startswith('icq.')
msn = jid.startswith('msn.')
sms = jid.startswith('sms.')
tlen = jid.startswith('tlen.')
yahoo = jid.startswith('yahoo.')
aim = jid.startswith('aim')
gg = jid.startswith('gg') # gadugadu
irc = jid.startswith('irc')
icq = jid.startswith('icq')
msn = jid.startswith('msn')
sms = jid.startswith('sms')
tlen = jid.startswith('tlen')
yahoo = jid.startswith('yahoo')
if aim or gg or irc or icq or msn or sms or yahoo or tlen:
is_transport = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment