aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-12-15 11:59:11 +0100
committerKim Alvefur <zash@zash.se>2018-12-15 11:59:11 +0100
commit331b2c3f5730bdaec27627d21afb562d6e7f2490 (patch)
treea1e51415fbcbddbdde2ec6f8c25bb51eebe631af /plugins
parenta270e6d5c8798dfad2fcd624f7ebb34ec72238a2 (diff)
parentb31939c492c5ff5da83d46ea9b9ce42dde07f3db (diff)
downloadprosody-331b2c3f5730bdaec27627d21afb562d6e7f2490.tar.gz
prosody-331b2c3f5730bdaec27627d21afb562d6e7f2490.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/request.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/request.lib.lua b/plugins/muc/request.lib.lua
index 1d9c39f9..4e95fdc3 100644
--- a/plugins/muc/request.lib.lua
+++ b/plugins/muc/request.lib.lua
@@ -82,7 +82,7 @@ module:hook("muc-voice-request", function(event)
};
local message = st.message({ type = "normal"; from = event.room.jid })
- :add_direct_child(voice_request_form:form(formdata));
+ :add_child(voice_request_form:form(formdata));
event.room:broadcast(message, function (_, occupant)
return occupant.role == "moderator";