jit.* are also icq transports. Fixes #1619

This commit is contained in:
Yann Leboulanger 2006-02-24 13:07:44 +00:00
parent f70f178527
commit e0b6d2700e
1 changed files with 3 additions and 1 deletions

View File

@ -217,6 +217,8 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
return 'irc'
elif host == 'icq':
return 'icq'
elif host == 'jit':
return 'icq'
elif host == 'msn':
return 'msn'
elif host == 'sms':
@ -234,7 +236,7 @@ def jid_is_transport(jid):
aim = jid.startswith('aim')
gg = jid.startswith('gg') # gadugadu
irc = jid.startswith('irc')
icq = jid.startswith('icq')
icq = jid.startswith('icq') or jid.startswith('jit')
msn = jid.startswith('msn')
sms = jid.startswith('sms')
tlen = jid.startswith('tlen')