aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-13 18:15:17 +0100
committerKim Alvefur <zash@zash.se>2016-12-13 18:15:17 +0100
commit57db768fd06598a62f156e8ce45afa798d8d5269 (patch)
treea9e59e3c8fba4c4967beb53eb5690135075ae802 /plugins/mod_saslauth.lua
parentca89197fe9e68f0f37c50c1ff123b7b90d765aa5 (diff)
downloadprosody-57db768fd06598a62f156e8ce45afa798d8d5269.tar.gz
prosody-57db768fd06598a62f156e8ce45afa798d8d5269.zip
core.sessionmanager, mod_saslauth: Introduce intermediate session type for authenticated but unbound sessions so that resource binding is not treated as a normal stanza
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 bb36600b..9917c303 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -273,7 +273,7 @@ module:hook("s2s-stream-features", function(event)
end
end);
-module:hook("iq/self/urn:ietf:params:xml:ns:xmpp-bind:bind", function(event)
+module:hook("stanza/iq/urn:ietf:params:xml:ns:xmpp-bind:bind", function(event)
local origin, stanza = event.origin, event.stanza;
local resource;
if stanza.attr.type == "set" then