From be652533d16a22dd1597e594b5845b8e2f1cde1e Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Fri, 6 Nov 2015 21:51:55 +0100 Subject: Add retweet alias --- protocols/twitter/twitter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/twitter/twitter.c') 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; -- cgit v1.2.3