diff options
author | Wilmer van der Gaast <wilmer@google.com> | 2011-07-22 19:29:25 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@google.com> | 2011-07-22 19:29:25 +0100 |
commit | 57b4525653972dc23c8c5ca5ffaa7e44fad64ee9 (patch) | |
tree | f48b0f0e542098e82b71302ed016cece67288c69 /protocols/jabber/jabber.c | |
parent | a01049810d7101b8c0014aa7b36826fc95f944a5 (diff) |
Nothing useful yet, this just generates an auth URL. Things to do: Ability
to process the answer. This is hard because the GTalk server will time out
very quickly which means we lose our state/scope/etc. (And the ability to
even receive the answer, at least if I'd do this the same way the Twitter
module does it.)
And then, get the access token and use it, of course. :-)
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 802158c1..91d40a43 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -59,6 +59,8 @@ static void jabber_init( account_t *acc ) s = set_add( &acc->set, "activity_timeout", "600", set_eval_int, acc ); + s = set_add( &acc->set, "oauth", "false", set_eval_bool, acc ); + g_snprintf( str, sizeof( str ), "%d", jabber_port_list[0] ); s = set_add( &acc->set, "port", str, set_eval_int, acc ); s->flags |= ACC_SET_OFFLINE_ONLY; |