Changes in protocols/twitter/twitter.c [c203533:a685409]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
rc203533 ra685409 323 323 s = set_add(&acc->set, "show_ids", "true", set_eval_bool, acc); 324 324 325 s = set_add(&acc->set, "show_old_mentions", " 0", set_eval_int, acc);325 s = set_add(&acc->set, "show_old_mentions", "20", set_eval_int, acc); 326 326 327 327 s = set_add(&acc->set, "strip_newlines", "false", set_eval_bool, acc); … … 602 602 603 603 cmds = g_strdup(message); 604 cmd = split_command_parts(cmds , 2);604 cmd = split_command_parts(cmds); 605 605 606 606 if (cmd[0] == NULL) { … … 617 617 618 618 goto eof; 619 } else if ((g_strcasecmp(cmd[0], "favourite") == 0 || 620 g_strcasecmp(cmd[0], "favorite") == 0 || 621 g_strcasecmp(cmd[0], "fav") == 0) && cmd[1]) { 619 } else if (g_strcasecmp(cmd[0], "favourite") == 0 && cmd[1]) { 622 620 if ((id = twitter_message_id_from_command_arg(ic, cmd[1], NULL))) { 623 621 twitter_favourite_tweet(ic, id); … … 664 662 goto eof; 665 663 } 666 message = new = g_strdup_printf("@%s %s", bu->handle, cmd[2]);664 message = new = g_strdup_printf("@%s %s", bu->handle, message + (cmd[2] - cmd[0])); 667 665 in_reply_to = id; 668 666 allow_post = TRUE;
Note: See TracChangeset
for help on using the changeset viewer.