mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
MUC: Advertise support for voice requests
This commit is contained in:
parent
4bcc8878b9
commit
89adb96dbc
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
local st = require "util.stanza";
|
||||
local jid_resource = require "util.jid".resource;
|
||||
|
||||
module:hook("muc-disco#info", function(event)
|
||||
event.reply:tag("feature", {var = "http://jabber.org/protocol/muc#request"}):up();
|
||||
end);
|
||||
|
||||
local voice_request_form = require "util.dataforms".new({
|
||||
title = "Voice Request";
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue