Comparison

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
comparison
equal deleted inserted replaced
2012:12131e7d3c25 2013:0bbbc9042361
159 end 159 end
160 end 160 end
161 features:up(); 161 features:up();
162 else 162 else
163 features:tag("bind", bind_attr):tag("required"):up():up(); 163 features:tag("bind", bind_attr):tag("required"):up():up();
164 features:tag("session", xmpp_session_attr):up(); 164 features:tag("session", xmpp_session_attr):tag("optional"):up():up();
165 end 165 end
166 end); 166 end);
167 167
168 module:add_iq_handler("c2s", "urn:ietf:params:xml:ns:xmpp-bind", 168 module:add_iq_handler("c2s", "urn:ietf:params:xml:ns:xmpp-bind",
169 function (session, stanza) 169 function (session, stanza)