aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 18:48:34 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 18:48:34 +0500
commitcd2d2e8037ffdf30fd6a96456c3a00b87aadbbf9 (patch)
treed580dca78cdd29641b5612d4ecdb2efcbcd38ae7 /plugins/mod_saslauth.lua
parent934db1b4047005d1b22dde67d81d41d74b329c5e (diff)
downloadprosody-cd2d2e8037ffdf30fd6a96456c3a00b87aadbbf9.tar.gz
prosody-cd2d2e8037ffdf30fd6a96456c3a00b87aadbbf9.zip
mod_saslauth: Marked the im-session stream feature as optional. This allows smart clients to save a round trip.
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index dc310e18..ac705ca3 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -161,7 +161,7 @@ module:add_event_hook("stream-features",
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);