changeset 25888:14abfec55b1d

Darnit, one more MSN fix: Also check whether the ADL/FQY count is zero when we've received an error FQY, since the ADL OK will never happen if that was the last result. applied changes from 3bb16ff558e43f80f9044fd6d1ab7d66adaad761 through 233c28248ecd717704ccb1932748bdf97b679cf1
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 04 May 2009 00:03:20 +0000
parents de4393eba497
children c18f78b2db6b
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Mon May 04 00:02:04 2009 +0000
+++ b/libpurple/protocols/msn/notification.c	Mon May 04 00:03:20 2009 +0000
@@ -619,7 +619,11 @@
 		purple_debug_warning("msn",
 		                     "Ignoring user %s about which server knows nothing.\n",
 		                     passport);
-		session->adl_fqy--;
+		/* Decrement the count for unknown results so that we'll continue login.
+		   Also, need to finish the login process here as well, because ADL OK
+		   will not be called. */
+		if (--session->adl_fqy == 0)
+			msn_session_finish_login(session);
 		return;
 	}