pidgin: 72ac03f5: Destroy the existing Nexus if we get a s...

qulogic at qulogic at
Fri Jul 22 16:01:19 EDT 2011

Revision: 72ac03f5f52c8ce5b32c27aad1d889257c4d3915
Parent:   6f34c0b3475fe7d9608714c58bce5b3c93b86804
Author:   qulogic at
Date:     07/22/11 15:55:24
Branch:   im.pidgin.pidgin


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.

Changes against parent 6f34c0b3475fe7d9608714c58bce5b3c93b86804

  patched  libpurple/protocols/msn/notification.c

-------------- next part --------------
--- libpurple/protocols/msn/notification.c	c9d1203097e0dbdcf82b99effd0985ab7ccc0d55
+++ libpurple/protocols/msn/notification.c	ed1c99db474591f4d4071332e512bd96e86a4613
@@ -198,6 +198,9 @@ usr_cmd(MsnCmdProc *cmdproc, MsnCommand 
 		/* RPS authentication */
+		if (session->nexus)
+			msn_nexus_destroy(session->nexus);
 		session->nexus = msn_nexus_new(session);
 		session->nexus->policy = g_strdup(cmd->params[3]);

More information about the Commits mailing list