Comparison

mod_sasl2_bind2/mod_sasl2_bind2.lua @ 5039:c0d243b27e64

mod_sasl2, mod_sasl_bind2, mod_sasl2_sm: Bump XEP-0388 namespace This is the namespace for the proposed update to XEP-0388. I.e. not even experimental yet... but this is all a work in progress anyway.
author Matthew Wild <mwild1@gmail.com>
date Tue, 13 Sep 2022 20:32:20 +0100
parent 5037:8a8100fff580
child 5043:17b87fffdb91
comparison
equal deleted inserted replaced
5038:88980b2dd986 5039:c0d243b27e64
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:sasl:1"; 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("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;