diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-06 21:51:55 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-06 21:51:55 +0100 |
commit | 896d5b57f57837d8886cc9d0b4ab44935671e89c (patch) | |
tree | 31f4086fd8acf537a888c6028a707882a795db5e | |
parent | 72c1c1a06e41282c42c7aed39cf3f25e158aa8fe (diff) |
Add retweet alias
-rw-r--r-- | protocols/twitter/twitter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 41ab8467..2fe4a55e 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -980,7 +980,8 @@ static void twitter_handle_command(struct im_connection *ic, char *message) twitter_report_spam(ic, screen_name); goto eof; - } else if (g_strcasecmp(cmd[0], "rt") == 0 && cmd[1]) { + } else if ((g_strcasecmp(cmd[0], "rt") == 0 || + g_strcasecmp(cmd[0], "retweet")) && cmd[1]) { id = twitter_message_id_from_command_arg(ic, cmd[1], NULL); td->last_status_id = 0; |