Mercurial > pidgin
changeset 28763:72bce773b640
oscar: Recognize the CAPTCHA failure and print a more friendly message. Refs #10884.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 06 Dec 2009 04:19:06 +0000 |
parents | 4f4211e712b6 |
children | 17fed2099778 edf0aa0e55cb |
files | libpurple/protocols/oscar/clientlogin.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/clientlogin.c Sun Dec 06 04:00:13 2009 +0000 +++ b/libpurple/protocols/oscar/clientlogin.c Sun Dec 06 04:19:06 2009 +0000 @@ -393,6 +393,10 @@ 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,