comparison mod_sasl2_bind2/mod_sasl2_bind2.lua @ 5045:6db64f64c8c9

mod_sasl2_bind2: Update xmlns to match latest XEP proposal (thanks Andrzej)
author Matthew Wild <mwild1@gmail.com>
date Thu, 22 Sep 2022 12:52:14 +0100
parents f64d834ba744
children 904dde7be981
comparison
equal deleted inserted replaced
5044:f64d834ba744 5045:6db64f64c8c9
2 local sha1 = require "util.hashes".sha1; 2 local sha1 = require "util.hashes".sha1;
3 local st = require "util.stanza"; 3 local st = require "util.stanza";
4 4
5 local sm_bind_resource = require "core.sessionmanager".bind_resource; 5 local sm_bind_resource = require "core.sessionmanager".bind_resource;
6 6
7 local xmlns_bind2 = "urn:xmpp:bind2:1"; 7 local xmlns_bind2 = "urn:xmpp:bind:0";
8 local xmlns_sasl2 = "urn:xmpp:sasl:2"; 8 local xmlns_sasl2 = "urn:xmpp:sasl:2";
9 9
10 -- Advertise what we can do 10 -- Advertise what we can do
11 11
12 module:hook("advertise-sasl-features", function(event) 12 module:hook("advertise-sasl-features", function(event)