changeset 31834:539b7170c7df

Add another possible reason for updating the OIM token. This was found in a log reported by someone in IRC.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Mar 2011 04:15:33 +0000
parents 0656f6063cf2
children d66112347eb4
files libpurple/protocols/msn/oim.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/oim.c	Mon Mar 14 01:04:08 2011 +0000
+++ b/libpurple/protocols/msn/oim.c	Mon Mar 14 04:15:33 2011 +0000
@@ -175,7 +175,8 @@
 
 		if (faultcode_str) {
 			if (g_str_equal(faultcode_str, "q0:BadContextToken") ||
-				g_str_equal(faultcode_str, "AuthenticationFailed"))
+				g_str_equal(faultcode_str, "AuthenticationFailed") ||
+				g_str_equal(faultcode_str, "s:AuthenticationFailed"))
 				need_token_update = TRUE;
 			else if (g_str_equal(faultcode_str, "q0:AuthenticationFailed") &&
 				xmlnode_get_child(fault, "detail/RequiredAuthPolicy") != NULL)