# HG changeset patch # User Elliott Sales de Andrade # Date 1260395401 0 # Node ID dfcd5190a4a966db04445fa1680a6e55ff323d0b # Parent 735418d84442609d78345ce4e7ec8472502cac60 Allow receiving a NLN command from ourselves. This will probably need to be changed so that when we're logging in we replace the other endpoint's settings instead of saving them (if that's what's happening). Probably should test this out sometime soon. diff -r 735418d84442 -r dfcd5190a4a9 libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Wed Dec 09 21:48:07 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Wed Dec 09 21:50:01 2009 +0000 @@ -1305,7 +1305,10 @@ networkid = atoi(cmd->params[2]); friendly = purple_url_decode(cmd->params[3]); - user = msn_userlist_find_user(session->userlist, passport); + if (g_str_equal(passport, session->user->passport)) + user = session->user; + else + user = msn_userlist_find_user(session->userlist, passport); if (user == NULL) return; if (msn_user_set_friendly_name(user, friendly))