# HG changeset patch # User Elliott Sales de Andrade # Date 1311364524 0 # Node ID 747c5be08e819e13c60b21a583e671856aad2e48 # Parent b863432e81d1c8ff2db328aec67d7779ce5f6cd9 Destroy the existing Nexus if we get a second USR SSO. This might happen if you get an XFR after authenticating, which didn't seem to be standard behaviour earlier. Thanks to HanzZ for discovery and fix. diff -r b863432e81d1 -r 747c5be08e81 libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Thu Jul 21 06:10:54 2011 +0000 +++ b/libpurple/protocols/msn/notification.c Fri Jul 22 19:55:24 2011 +0000 @@ -198,6 +198,9 @@ { /* RPS authentication */ + if (session->nexus) + msn_nexus_destroy(session->nexus); + session->nexus = msn_nexus_new(session); session->nexus->policy = g_strdup(cmd->params[3]);