Changeset 777461b


Ignore:
Timestamp:
2013-06-15T23:33:53Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
dd7b931
Parents:
ca8037e
Message:

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?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rca8037e r777461b  
    289289        char *def_url;
    290290        char *def_tul;
     291        char *def_mentions;
    291292
    292293        if (strcmp(acc->prpl->name, "twitter") == 0) {
    293294                def_url = TWITTER_API_URL;
    294295                def_tul = "20";
     296                def_mentions = "true";
    295297        } else {                /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
    296298                def_url = IDENTICA_API_URL;
    297299                def_tul = "0";
     300                def_mentions = "false";
    298301        }
    299302
     
    308311        s->flags |= ACC_SET_OFFLINE_ONLY;
    309312
    310         s = set_add(&acc->set, "fetch_mentions", "true", set_eval_bool, acc);
     313        s = set_add(&acc->set, "fetch_mentions", def_mentions, set_eval_bool, acc);
    311314
    312315        s = set_add(&acc->set, "message_length", "140", set_eval_int, acc);
Note: See TracChangeset for help on using the changeset viewer.