Ignore:
Timestamp:
2015-03-15T14:41:47Z (9 years ago)
Author:
dequis <dx@…>
Children:
c5a1502
Parents:
ffa5b70
git-author:
dequis <dx@…> (09-03-15 10:14:58)
git-committer:
dequis <dx@…> (15-03-15 14:41:47)
Message:

msn: implement PUT /user to set status as online

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn_util.c

    rffa5b70 r6e74911  
    532532int msn_ns_set_display_name(struct im_connection *ic, const char *value)
    533533{
    534         struct msn_data *md = ic->proto_data;
    535         char fn[strlen(value) * 3 + 1];
    536 
    537         strcpy(fn, value);
    538         http_encode(fn);
    539 
    540         /* Note: We don't actually know if the server accepted the new name,
    541            and won't give proper feedback yet if it doesn't. */
    542         return msn_ns_write(ic, -1, "PRP %d MFN %s\r\n", ++md->trId, fn);
     534        // TODO, implement this through msn_set_away's method
     535        return 1;
    543536}
    544537
Note: See TracChangeset for help on using the changeset viewer.