Diff

plugins/mod_saslauth.lua @ 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
parent 1912:126401a7159f
child 2014:913c0845ef9a
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);