diff options
author | ulim <a.sporto+bee@gmail.com> | 2008-07-22 14:37:49 +0200 |
---|---|---|
committer | ulim <a.sporto+bee@gmail.com> | 2008-07-22 14:37:49 +0200 |
commit | 8a90001ab2cde971abc64b8d5e4174dc4c4b0ae2 (patch) | |
tree | 5f4b8fe94f20258ac2e62560cae96390d9bf6539 /protocols/jabber/jabber.c | |
parent | 9afeeface6363ea81c5f80a7274a691f18550a21 (diff) |
Added an account setting 'proxy'.
Note that this is only used for sending. The default <local>;<auto> means let
the receiver try a direct connection first and then the proxy discovered from
the server (if any). If you know you're firewalled you can remove the <local>.
If you want to provide your own proxy try something like
"<local>;JID,HOST,PORT". E.g.
"<local>;proxy.somewhere.org,123.123.123.123,7777".
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r-- | protocols/jabber/jabber.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index 04d6f906..8b1d78db 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -61,6 +61,8 @@ static void jabber_init( account_t *acc ) s = set_add( &acc->set, "xmlconsole", "false", set_eval_bool, acc ); s->flags |= ACC_SET_OFFLINE_ONLY; + + s = set_add( &acc->set, "proxy", "<local>;<auto>", NULL, acc ); } static void jabber_generate_id_hash( struct jabber_data *jd ); |