Ignore:
Timestamp:
2012-03-12T22:36:35Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fda194f
Parents:
57a65600
Message:

Merging report-spam patch for Twitter from Flexo. #923

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r57a65600 rd18dee42  
    10621062        g_free(url);
    10631063}
     1064
     1065/**
     1066 * Report a user for sending spam.
     1067 */
     1068void twitter_report_spam(struct im_connection *ic, char *screen_name)
     1069{
     1070        char *args[2] = {
     1071                "screen_name",
     1072                NULL,
     1073        };
     1074        args[1] = screen_name;
     1075        twitter_http(ic, TWITTER_REPORT_SPAM_URL, twitter_http_post,
     1076                     ic, 1, args, 2);
     1077}
Note: See TracChangeset for help on using the changeset viewer.