Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/notification.c @ 23517:70de4e2246ec
Add real server-side aliasing to MSN.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 07 Jun 2008 08:01:41 +0000 |
parents | 1d97298ccff5 |
children | 9a53c441f8c1 |
comparison
equal
deleted
inserted
replaced
23516:5a6cf27ead31 | 23517:70de4e2246ec |
---|---|
1282 else { | 1282 else { |
1283 type = cmd->params[1]; | 1283 type = cmd->params[1]; |
1284 if (!strcmp(type, "MFN")) { | 1284 if (!strcmp(type, "MFN")) { |
1285 friendlyname = purple_url_decode(cmd->params[2]); | 1285 friendlyname = purple_url_decode(cmd->params[2]); |
1286 | 1286 |
1287 msn_update_contact(session, friendlyname); | 1287 msn_update_contact(session, "Me", MSN_UPDATE_DISPLAY, friendlyname); |
1288 | 1288 |
1289 purple_connection_set_display_name( | 1289 purple_connection_set_display_name( |
1290 purple_account_get_connection(session->account), | 1290 purple_account_get_connection(session->account), |
1291 friendlyname); | 1291 friendlyname); |
1292 } | 1292 } |