mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +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
|
@ -9,6 +9,8 @@ local rm_remove_from_roster = require "core.rostermanager".remove_from_roster;
|
|||
local rm_add_to_roster = require "core.rostermanager".add_to_roster;
|
||||
local rm_roster_push = require "core.rostermanager".roster_push;
|
||||
|
||||
require "core.discomanager".set("roster", "jabber:iq:roster");
|
||||
|
||||
add_iq_handler("c2s", "jabber:iq:roster",
|
||||
function (session, stanza)
|
||||
if stanza.tags[1].name == "query" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue