Ignore:
Timestamp:
2016-03-31T18:49:52Z (9 years ago)
Author:
Flexo <nick@…>
Branches:
master
Children:
0d581bd
Parents:
fb62f132
Message:

Add mute and unmute commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rfb62f132 r9cf63ac  
    958958                twitter_remove_buddy(ic, cmd[1], NULL);
    959959                goto eof;
     960        } else if (g_strcasecmp(cmd[0], "mute") == 0 && cmd[1]) {
     961                twitter_mute_create_destroy(ic, cmd[1], 1);
     962                goto eof;
     963        } else if (g_strcasecmp(cmd[0], "unmute") == 0 && cmd[1]) {
     964                twitter_mute_create_destroy(ic, cmd[1], 0);
     965                goto eof;
    960966        } else if ((g_strcasecmp(cmd[0], "report") == 0 ||
    961967                    g_strcasecmp(cmd[0], "spam") == 0) && cmd[1]) {
Note: See TracChangeset for help on using the changeset viewer.