From 9cf63aca0ffdc0cf708c3d17ee3ae9f92fa7cbf8 Mon Sep 17 00:00:00 2001 From: Flexo Date: Thu, 31 Mar 2016 18:49:52 +0000 Subject: Add mute and unmute commands. --- protocols/twitter/twitter_lib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'protocols/twitter/twitter_lib.h') 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); -- cgit v1.2.3