mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Modules now sending disco replies
This commit is contained in:
parent
111b866557
commit
f68d335729
8 changed files with 17 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
local st = require "util.stanza";
|
||||
local t_concat = table.concat;
|
||||
|
||||
require "core.discomanager".set("legacyauth", "jabber:iq:auth");
|
||||
|
||||
add_iq_handler("c2s_unauthed", "jabber:iq:auth",
|
||||
function (session, stanza)
|
||||
local username = stanza.tags[1]:child_with_name("username");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue