Software /
code /
prosody
Diff
plugins/mod_saslauth.lua @ 7784:9f70d35a1602
core.sessionmanager, mod_saslauth: Introduce intermediate session type for authenticated but unbound sessions so that resource binding is not treated as a normal stanza
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Dec 2016 18:15:17 +0100 (2016-12-13) |
parent | 7298:7056bbaf81ee |
child | 7896:1a2674123c1c |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Tue Dec 13 21:25:11 2016 +0100 +++ b/plugins/mod_saslauth.lua Tue Dec 13 18:15:17 2016 +0100 @@ -273,7 +273,7 @@ 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