From cc76b95f9d90b3bb85d2f342323f23ffd02f7d40 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 12 Dec 2005 15:11:51 +0000 Subject: [PATCH] remove chekcing for dot --- src/common/gajim.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/common/gajim.py b/src/common/gajim.py index 2f25f79ea..e138938a1 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -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