diff libpurple/protocols/myspace/myspace.h @ 22268:1f3481447197

In msimprpl, if login fails, and the user's password is greater than 10 characters, note this in the login failure message and offer a URL to shorten it. MySpaceIM apparently limits passwords to 10 characters maximum now. Closes #4369.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 06 Feb 2008 05:37:32 +0000
parents b8bfd13ec479
children 0e2207b46080
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Mon Feb 04 04:04:02 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Wed Feb 06 05:37:32 2008 +0000
@@ -84,9 +84,9 @@
  * http://settings.myspace.com/index.cfm?fuseaction=user.changepassword
  * (though curiously, not on the 'current password' field). */
 
-/* Not defined; instead have the client reject the password, until libpurple
- * supports specifying a length limit on the protocol's password. */
-/* #define MSIM_MAX_PASSWORD_LENGTH    10	*/
+/* After login fails, if password is greater than this many characters,
+ * warn user that it may be too long. */
+#define MSIM_MAX_PASSWORD_LENGTH    10
 
 /* Build version of MySpaceIM to report to servers (1.0.xxx.0) */
 #define MSIM_CLIENT_VERSION         697