Changeset b3d99e3
- Timestamp:
- 2012-09-15T16:03:33Z (12 years ago)
- Branches:
- master
- Children:
- b61c74c
- Parents:
- 7281ad1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/commands.xml
r7281ad1 rb3d99e3 69 69 70 70 <bitlbee-command name="twitter"> 71 <syntax>account add twitter <handle> [<password>]</syntax>71 <syntax>account add twitter <handle></syntax> 72 72 73 73 <description> … … 95 95 96 96 <bitlbee-command name="identica"> 97 <syntax>account add identica <handle> [<password>]</syntax>97 <syntax>account add identica <handle></syntax> 98 98 99 99 <description> 100 100 <para> 101 Same protocol as <emphasis>twitter</emphasis>, but defaults to a <emphasis>base_url</emphasis> pointing at identi.ca , and with OAuth disabled.101 Same protocol as <emphasis>twitter</emphasis>, but defaults to a <emphasis>base_url</emphasis> pointing at identi.ca. It also works with OAuth (so don't specify your password). 102 102 </para> 103 103 </description> -
protocols/twitter/twitter.c
r7281ad1 rb3d99e3 242 242 set_t *s; 243 243 char *def_url; 244 char *def_oauth;245 244 char *def_tul; 246 245 247 246 if (strcmp(acc->prpl->name, "twitter") == 0) { 248 247 def_url = TWITTER_API_URL; 249 def_oauth = "true";250 248 def_tul = "20"; 251 249 } else { /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */ 252 250 def_url = IDENTICA_API_URL; 253 def_oauth = "true";254 251 def_tul = "0"; 255 252 } … … 274 271 s->flags |= ACC_SET_OFFLINE_ONLY; 275 272 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); 277 274 278 275 s = set_add(&acc->set, "show_ids", "true", set_eval_bool, acc);
Note: See TracChangeset
for help on using the changeset viewer.