pidgin: 219b3128: oscar: Recognize the CAPTCHA failure and...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Dec 6 00:11:44 EST 2009


-----------------------------------------------------------------
Revision: 219b3128f3d96b126a9ed9aff2d2f3277e69dbd4
Ancestor: d1a567c1f7db1a17b07ec0c0011301531ae1b6fe
Author: darkrain42 at pidgin.im
Date: 2009-12-06T04:19:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/219b3128f3d96b126a9ed9aff2d2f3277e69dbd4

Modified files:
        libpurple/protocols/oscar/clientlogin.c

ChangeLog: 

oscar: Recognize the CAPTCHA failure and print a more friendly message.  Refs #10884.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/clientlogin.c	1d8bca9378294cb3346ce5483ed4902c2260bb42
+++ libpurple/protocols/oscar/clientlogin.c	14dd1197990e5f1ae8fcd4b79b45c5a406c4e0f2
@@ -393,6 +393,10 @@ static gboolean parse_client_login_respo
 			purple_connection_error_reason(gc,
 					PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED,
 					_("Incorrect password"));
+		} else if (status_code == 330 && status_detail_code == 3015) {
+			purple_connection_error_reason(gc,
+					PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED,
+					_("CAPTCHA requested. Logging into the AIM/ICQ website may fix this."));
 		} else if (status_code == 401 && status_detail_code == 3019) {
 			purple_connection_error_reason(gc,
 					PURPLE_CONNECTION_ERROR_OTHER_ERROR,


More information about the Commits mailing list