This commit is contained in:
Nikos Kouremenos 2005-08-26 13:17:03 +00:00
parent e12e0819dc
commit 05dbf5bad6
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def get_number_of_accounts():
def get_transport_name_from_jid(jid, use_config_setting = True): def get_transport_name_from_jid(jid, use_config_setting = True):
'''returns 'aim', 'gg', 'irc' etc''' '''returns 'aim', 'gg', 'irc' etc'''
if use_config_setting or not gajim.config.get('use_transports_iconsets'): if use_config_setting and not gajim.config.get('use_transports_iconsets'):
return return
host = jid.split('@')[-1] host = jid.split('@')[-1]
if host.startswith('aim'): if host.startswith('aim'):