diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-06 21:51:55 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:24:24 +0200 |
commit | be652533d16a22dd1597e594b5845b8e2f1cde1e (patch) | |
tree | dffed9c9af94a3cbce5a91f1951b2989b8e5f9b1 /protocols/twitter/twitter.c | |
parent | 4fe91a16d4808ebf47ea8be6f4206139c91d3347 (diff) |
Add retweet alias
Diffstat (limited to 'protocols/twitter/twitter.c')
-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 4fe509bb..63e7c599 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -984,7 +984,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") == 0) && cmd[1]) { id = twitter_message_id_from_command_arg(ic, cmd[1], NULL); td->last_status_id = 0; |