aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/request.lib.lua
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
commit4121efa3066d16e876f9f9c90dfbbd52c0f4b587 (patch)
treea1e51415fbcbddbdde2ec6f8c25bb51eebe631af /plugins/muc/request.lib.lua
parentabbf8a6b78264e44bb7d634dbf1bcb66649e0248 (diff)
parentc7a9177d2a15773fda4b290a93338d6c4905691b (diff)
downloadprosody-4121efa3066d16e876f9f9c90dfbbd52c0f4b587.tar.gz
prosody-4121efa3066d16e876f9f9c90dfbbd52c0f4b587.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/muc/request.lib.lua')
-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";