Mercurial > pidgin.yaz
changeset 6829:dff2d0a282e7
[gaim-migrate @ 7374]
Grab the MSNObject from NLNs.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 14 Sep 2003 02:57:59 +0000 |
parents | cdcb43229e33 |
children | 7ed61a258cb2 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Sun Sep 14 01:59:46 2003 +0000 +++ b/src/protocols/msn/notification.c Sun Sep 14 02:57:59 2003 +0000 @@ -1460,6 +1460,8 @@ { MsnSession *session = servconn->session; GaimConnection *gc = session->account->gc; + MsnUser *user; + MsnObject *msnobj; const char *state; const char *passport; const char *friend; @@ -1469,6 +1471,14 @@ passport = params[1]; friend = msn_url_decode(params[2]); + if (session->protocol_ver >= 9 && param_count == 5) + { + user = msn_users_find_with_passport(session->users, passport); + + msnobj = msn_object_new_from_string(msn_url_decode(params[5])); + msn_user_set_object(user, msnobj); + } + serv_got_alias(gc, (char *)passport, (char *)friend); if (!g_ascii_strcasecmp(state, "BSY"))