Comparison

mod_sasl2_bind2/mod_sasl2_bind2.lua @ 5031:62cdd8170563

mod_sasl2_bind2: Fix namespace (thanks Daniel)
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 17:29:25 +0100
parent 5029:56b9f0b1409f
child 5032:71a84474fcfb
comparison
equal deleted inserted replaced
5030:3e79876d135b 5031:62cdd8170563
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:bind2:1";
8 local xmlns_sasl2 = "urn:xmpp:sasl2:1"; 8 local xmlns_sasl2 = "urn:xmpp:sasl:1";
9 9
10 -- Advertise what we can do 10 -- Advertise what we can do
11 11
12 module:hook("stream-features", function(event) 12 module:hook("stream-features", function(event)
13 local origin, features = event.origin, event.features; 13 local origin, features = event.origin, event.features;