Changeset 777461b for protocols/twitter
- Timestamp:
- 2013-06-15T23:33:53Z (12 years ago)
- Branches:
- master
- Children:
- dd7b931
- Parents:
- ca8037e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
rca8037e r777461b 289 289 char *def_url; 290 290 char *def_tul; 291 char *def_mentions; 291 292 292 293 if (strcmp(acc->prpl->name, "twitter") == 0) { 293 294 def_url = TWITTER_API_URL; 294 295 def_tul = "20"; 296 def_mentions = "true"; 295 297 } else { /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */ 296 298 def_url = IDENTICA_API_URL; 297 299 def_tul = "0"; 300 def_mentions = "false"; 298 301 } 299 302 … … 308 311 s->flags |= ACC_SET_OFFLINE_ONLY; 309 312 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); 311 314 312 315 s = set_add(&acc->set, "message_length", "140", set_eval_int, acc);
Note: See TracChangeset
for help on using the changeset viewer.