comparison src/protocols/msn/notification.c @ 5652:4fa26acb4cd3

[gaim-migrate @ 6066] A little fix from shx. Now users shouldn't be seeing "%20" instead of " " in some friendly names. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 06:02:34 +0000
parents cc9ddec20010
children 331295fb349e
comparison
equal deleted inserted replaced
5651:20ce7928c0b9 5652:4fa26acb4cd3
278 GaimConnection *gc = gaim_account_get_connection(account); 278 GaimConnection *gc = gaim_account_get_connection(account);
279 char outparams[MSN_BUF_LEN]; 279 char outparams[MSN_BUF_LEN];
280 280
281 /* We're either getting the challenge or the OK. Let's find out. */ 281 /* We're either getting the challenge or the OK. Let's find out. */
282 if (!g_ascii_strcasecmp(params[1], "OK")) { 282 if (!g_ascii_strcasecmp(params[1], "OK")) {
283 const char *friendly = params[3]; 283 const char *friendly = msn_url_decode(params[3]);
284 284
285 /* OK */ 285 /* OK */
286 286
287 gaim_connection_set_display_name(gc, friendly); 287 gaim_connection_set_display_name(gc, friendly);
288 288