aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-26 11:51:19 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-26 11:51:19 +0100
commit5f40da79f78e444f08387ce53da1b2e471c8552f (patch)
treeceded3c147f55b819e11503e91cc4d9e75bbcd43 /protocols/twitter/twitter.c
parent96f954df218e81f5580257c319b91217dac2f4bf (diff)
parent644b8080349d7d42ca89946acc207592fd0acc2d (diff)
Merging oauth-xmpp branch, which adds support for OAuth2 authentication
against some XMPP services (Google Talk, Facebook and Microsoft's MSN-XMPP gateway).
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r--protocols/twitter/twitter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c
index 76ccc3eb..ef49e83a 100644
--- a/protocols/twitter/twitter.c
+++ b/protocols/twitter/twitter.c
@@ -219,7 +219,7 @@ static void twitter_init(account_t * acc)
def_oauth = "true";
} else { /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
def_url = IDENTICA_API_URL;
- def_oauth = "false";
+ def_oauth = "true";
}
s = set_add(&acc->set, "auto_reply_timeout", "10800", set_eval_int, acc);
@@ -239,12 +239,12 @@ static void twitter_init(account_t * acc)
s = set_add(&acc->set, "mode", "chat", set_eval_mode, acc);
s->flags |= ACC_SET_OFFLINE_ONLY;
+ s = set_add(&acc->set, "oauth", def_oauth, set_eval_oauth, acc);
+
s = set_add(&acc->set, "show_ids", "false", set_eval_bool, acc);
s->flags |= ACC_SET_OFFLINE_ONLY;
s = set_add(&acc->set, "show_old_mentions", "true", set_eval_bool, acc);
-
- s = set_add(&acc->set, "oauth", def_oauth, set_eval_bool, acc);
}
/**