Changeset

2013:0bbbc9042361

mod_saslauth: Marked the im-session stream feature as optional. This allows smart clients to save a round trip.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 18 Oct 2009 18:48:34 +0500
parents 2012:12131e7d3c25
children 2014:913c0845ef9a
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Sun Oct 18 18:45:41 2009 +0500
+++ b/plugins/mod_saslauth.lua	Sun Oct 18 18:48:34 2009 +0500
@@ -161,7 +161,7 @@
 				features:up();
 			else
 				features:tag("bind", bind_attr):tag("required"):up():up();
-				features:tag("session", xmpp_session_attr):up();
+				features:tag("session", xmpp_session_attr):tag("optional"):up():up();
 			end
 		end);