Changeset b3d99e3 for protocols/twitter


Ignore:
Timestamp:
2012-09-15T16:03:33Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b61c74c
Parents:
7281ad1
Message:

Twitter module cleanup: Both Twitter and identi.ca "modules" support OAuth
now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r7281ad1 rb3d99e3  
    242242        set_t *s;
    243243        char *def_url;
    244         char *def_oauth;
    245244        char *def_tul;
    246245
    247246        if (strcmp(acc->prpl->name, "twitter") == 0) {
    248247                def_url = TWITTER_API_URL;
    249                 def_oauth = "true";
    250248                def_tul = "20";
    251249        } else {                /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
    252250                def_url = IDENTICA_API_URL;
    253                 def_oauth = "true";
    254251                def_tul = "0";
    255252        }
     
    274271        s->flags |= ACC_SET_OFFLINE_ONLY;
    275272
    276         s = set_add(&acc->set, "oauth", def_oauth, set_eval_oauth, acc);
     273        s = set_add(&acc->set, "oauth", "true", set_eval_oauth, acc);
    277274
    278275        s = set_add(&acc->set, "show_ids", "true", set_eval_bool, acc);
Note: See TracChangeset for help on using the changeset viewer.