diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-03-12 22:36:35 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-03-12 22:36:35 +0000 |
commit | d18dee42088f0bef9d09dbc7903590d755d19a50 (patch) | |
tree | e8c5d9b956e476420c990de825c061b103a008cd /protocols/twitter/twitter_lib.h | |
parent | 57a656009b79afa0efc1fef360e6f7ca8a89ea01 (diff) |
Merging report-spam patch for Twitter from Flexo. #923
Diffstat (limited to 'protocols/twitter/twitter_lib.h')
-rw-r--r-- | protocols/twitter/twitter_lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h index b06f5055..09b91e5b 100644 --- a/protocols/twitter/twitter_lib.h +++ b/protocols/twitter/twitter_lib.h @@ -75,6 +75,9 @@ #define TWITTER_BLOCKS_CREATE_URL "/blocks/create/" #define TWITTER_BLOCKS_DESTROY_URL "/blocks/destroy/" +/* Report spam */ +#define TWITTER_REPORT_SPAM_URL "/report_spam.xml" + void twitter_get_timeline(struct im_connection *ic, gint64 next_cursor); void twitter_get_friends_ids(struct im_connection *ic, gint64 next_cursor); void twitter_get_home_timeline(struct im_connection *ic, gint64 next_cursor); @@ -86,6 +89,7 @@ void twitter_direct_messages_new(struct im_connection *ic, char *who, char *mess void twitter_friendships_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); #endif //_TWITTER_LIB_H |