diff options
author | Flexo <nick@nivan.net> | 2016-03-31 18:49:52 +0000 |
---|---|---|
committer | Flexo <nick@nivan.net> | 2016-03-31 18:49:52 +0000 |
commit | 9cf63aca0ffdc0cf708c3d17ee3ae9f92fa7cbf8 (patch) | |
tree | e153efbac9f45c6f5abd7223cc43919a638110a9 /protocols/twitter/twitter_lib.h | |
parent | fb62f132a55896e235fd4956987548bdcd0be519 (diff) |
Add mute and unmute commands.
Diffstat (limited to 'protocols/twitter/twitter_lib.h')
-rw-r--r-- | protocols/twitter/twitter_lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h index 44f20cbc..6833d23d 100644 --- a/protocols/twitter/twitter_lib.h +++ b/protocols/twitter/twitter_lib.h @@ -77,6 +77,10 @@ #define TWITTER_BLOCKS_CREATE_URL "/blocks/create/" #define TWITTER_BLOCKS_DESTROY_URL "/blocks/destroy/" +/* Mute URLs */ +#define TWITTER_MUTES_CREATE_URL "/mutes/users/create.json" +#define TWITTER_MUTES_DESTROY_URL "/mutes/users/destroy.json" + /* Report spam */ #define TWITTER_REPORT_SPAM_URL "/users/report_spam.json" @@ -95,6 +99,7 @@ void twitter_get_statuses_friends(struct im_connection *ic, gint64 next_cursor); void twitter_post_status(struct im_connection *ic, char *msg, guint64 in_reply_to); void twitter_direct_messages_new(struct im_connection *ic, char *who, char *message); void twitter_friendships_create_destroy(struct im_connection *ic, char *who, int create); +void twitter_mute_create_destroy(struct im_connection *ic, char *who, int create); void twitter_status_destroy(struct im_connection *ic, guint64 id); void twitter_status_retweet(struct im_connection *ic, guint64 id); void twitter_report_spam(struct im_connection *ic, char *screen_name); |