- Timestamp:
- 2013-06-16T12:15:15Z (12 years ago)
- Branches:
- master
- Children:
- 1a2c1c0
- Parents:
- 41a94dd (diff), dd7b931 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols/twitter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
r41a94dd rab19567 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); -
protocols/twitter/twitter_http.c
r41a94dd rab19567 78 78 79 79 // Make the request. 80 g_string_printf(request, "%s %s%s%s%s HTTP/1. 0\r\n"80 g_string_printf(request, "%s %s%s%s%s HTTP/1.1\r\n" 81 81 "Host: %s\r\n" 82 82 "User-Agent: BitlBee " BITLBEE_VERSION " " ARCH "/" CPU "\r\n",
Note: See TracChangeset
for help on using the changeset viewer.