From 777461be5e14d3aab9a51f19b5d2621309141a9d Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 16 Jun 2013 00:33:53 +0100 Subject: Turn off fetch_mentions by default for identi.ca connections since it's no longer working. (Not compatible with Twitter API 1.1 from what I can see?) --- protocols/twitter/twitter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 6d8b3fd0..4626cf55 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -288,13 +288,16 @@ static void twitter_init(account_t * acc) set_t *s; char *def_url; char *def_tul; + char *def_mentions; if (strcmp(acc->prpl->name, "twitter") == 0) { def_url = TWITTER_API_URL; def_tul = "20"; + def_mentions = "true"; } else { /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */ def_url = IDENTICA_API_URL; def_tul = "0"; + def_mentions = "false"; } s = set_add(&acc->set, "auto_reply_timeout", "10800", set_eval_int, acc); @@ -307,7 +310,7 @@ static void twitter_init(account_t * acc) s = set_add(&acc->set, "fetch_interval", "60", set_eval_int, acc); s->flags |= ACC_SET_OFFLINE_ONLY; - s = set_add(&acc->set, "fetch_mentions", "true", set_eval_bool, acc); + s = set_add(&acc->set, "fetch_mentions", def_mentions, set_eval_bool, acc); s = set_add(&acc->set, "message_length", "140", set_eval_int, acc); -- cgit v1.2.3