pidgin/pidgin

Add PURPLE_REASON_INVALID_USERNAME, which should go away as soon as there's
cpw.resiak.disconnectreason
2007-09-18, Will Thompson
cbb156152b0e
Parents 6596f4984a50
Children 63ea8fe29f17
Add PURPLE_REASON_INVALID_USERNAME, which should go away as soon as there's
some hook for prpls to validate the account settings before connecting.
--- a/libpurple/connection.h Tue Sep 18 16:39:48 2007 +0000
+++ b/libpurple/connection.h Tue Sep 18 21:12:28 2007 +0000
@@ -71,6 +71,13 @@
*/
PURPLE_REASON_NAME_IN_USE,
+ /** The username for the account isn't valid.
+ * @todo This reason really shouldn't be necessary. Usernames and
+ * other account preferences should be validated when the
+ * account is created.
+ */
+ PURPLE_REASON_INVALID_USERNAME,
+
/** The server did not provide a SSL certificate. */
PURPLE_REASON_CERT_NOT_PROVIDED,
/** The server's SSL certificate could not be trusted. */