diff libpurple/protocols/myspace/myspace.h @ 22305:bf4902fce6e4

In msimprpl, add msim_is_valid_username() to check whether a username is valid (not whether it exists). Not used anywhere, but will help #4855.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 16 Feb 2008 21:29:02 +0000
parents 1097406c8f6c
children 1406a2fa649d
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Sat Feb 16 21:07:09 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Sat Feb 16 21:29:02 2008 +0000
@@ -89,6 +89,9 @@
  * warn user that it may be too long. */
 #define MSIM_MAX_PASSWORD_LENGTH    10
 
+/* Maximum length of usernames, when setting. */
+#define MSIM_MAX_USERNAME_LENGTH    25
+
 /* Build version of MySpaceIM to report to servers (1.0.xxx.0) */
 #define MSIM_CLIENT_VERSION         697