aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/msn_util.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-03-09 07:14:58 -0300
committerdequis <dx@dxzone.com.ar>2015-04-10 14:10:40 -0300
commitd80822c66f79471bc2e12167a14611dd3c49da65 (patch)
tree5f8013dd11dbe463368cc29c3e05a780b7a33ef3 /protocols/msn/msn_util.c
parent11e42dcf7366ee547b9651648724d35d12e36091 (diff)
msn: implement PUT /user to set status as online
Diffstat (limited to 'protocols/msn/msn_util.c')
-rw-r--r--protocols/msn/msn_util.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c
index 43256a2a..c5832b1b 100644
--- a/protocols/msn/msn_util.c
+++ b/protocols/msn/msn_util.c
@@ -537,15 +537,8 @@ struct msn_group *msn_group_by_id(struct im_connection *ic, const char *id)
int msn_ns_set_display_name(struct im_connection *ic, const char *value)
{
- struct msn_data *md = ic->proto_data;
- char fn[strlen(value) * 3 + 1];
-
- strcpy(fn, value);
- http_encode(fn);
-
- /* Note: We don't actually know if the server accepted the new name,
- and won't give proper feedback yet if it doesn't. */
- return msn_ns_write(ic, -1, "PRP %d MFN %s\r\n", ++md->trId, fn);
+ // TODO, implement this through msn_set_away's method
+ return 1;
}
const char *msn_normalize_handle(const char *handle)