Mercurial > pidgin
changeset 5918:7134be4a319f
[gaim-migrate @ 6358]
Okay, adding buddies should no longer stick numbers in your list. What on
hell was I thinking?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 18 Jun 2003 04:15:45 +0000 |
parents | a747e9e0e2cf |
children | 889ccc2bef92 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 5 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Wed Jun 18 02:18:26 2003 +0000 +++ b/src/protocols/msn/notification.c Wed Jun 18 04:15:45 2003 +0000 @@ -425,17 +425,12 @@ char *friend; char msg[MSN_BUF_LEN]; - list = params[1]; + list = params[1]; + passport = params[3]; + friend = msn_url_decode(params[4]); - if (!strcmp(params[0], "0")) { - passport = params[3]; - friend = msn_url_decode(params[4]); - } - else { - passport = params[2]; - friend = msn_url_decode(params[3]); - group_id = params[4]; - } + if (param_count >= 6) + group_id = params[5]; if (!g_ascii_strcasecmp(list, "FL")) { user = msn_user_new(session, passport, NULL);