diff options
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r-- | protocols/twitter/twitter.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 94c88b71..e543f86e 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -957,6 +957,12 @@ static void twitter_handle_command(struct im_connection *ic, char *message) } else if (g_strcasecmp(cmd[0], "unfollow") == 0 && cmd[1]) { twitter_remove_buddy(ic, cmd[1], NULL); goto eof; + } else if (g_strcasecmp(cmd[0], "mute") == 0 && cmd[1]) { + twitter_mute_create_destroy(ic, cmd[1], 1); + goto eof; + } else if (g_strcasecmp(cmd[0], "unmute") == 0 && cmd[1]) { + twitter_mute_create_destroy(ic, cmd[1], 0); + goto eof; } else if ((g_strcasecmp(cmd[0], "report") == 0 || g_strcasecmp(cmd[0], "spam") == 0) && cmd[1]) { char *screen_name; |