add tlen, fix gadu gadu to gg, and use dot because ggore@jabber.FOO can exist
This commit is contained in:
parent
6cc869152c
commit
6e22a369ee
1 changed files with 9 additions and 8 deletions
|
@ -250,15 +250,16 @@ 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('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.')
|
||||||
yahoo = jid.startswith('yahoo')
|
tlen = jid.startswith('tlen.')
|
||||||
|
yahoo = jid.startswith('yahoo.')
|
||||||
|
|
||||||
if aim or gg or irc or icq or msn or sms or yahoo:
|
if aim or gg or irc or icq or msn or sms or yahoo or tlen:
|
||||||
is_transport = True
|
is_transport = True
|
||||||
else:
|
else:
|
||||||
is_transport = False
|
is_transport = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue