aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/request.lib.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/muc/request.lib.lua b/plugins/muc/request.lib.lua
index fdfb9be9..d7fa9426 100644
--- a/plugins/muc/request.lib.lua
+++ b/plugins/muc/request.lib.lua
@@ -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";
{