diff libpurple/protocols/msn/oim.c @ 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 a8cc50c2279f
children 10e5000326a5
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)