diff libpurple/protocols/jabber/jabber.c @ 16068:ac1a32ebd62c

patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
author Nathan Walp <nwalp@pidgin.im>
date Sun, 15 Apr 2007 00:14:34 +0000
parents 26593bef6568
children 547c76fe2e7a
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Tue Apr 10 22:23:13 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sun Apr 15 00:14:34 2007 +0000
@@ -1858,7 +1858,12 @@
 
 static PurplePluginProtocolInfo prpl_info =
 {
+#ifdef HAVE_CYRUS_SASL
+	OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
+	OPT_PROTO_MAIL_CHECK | OPT_PROTO_PASSWORD_OPTIONAL,
+#else
 	OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_MAIL_CHECK,
+#endif
 	NULL,							/* user_splits */
 	NULL,							/* protocol_options */
 	{"png,gif,jpeg", 32, 32, 96, 96, 8191, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */