diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-25 21:21:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-25 21:21:22 +0200 |
commit | 808d1c46bb6e783e57b42a4c7a5fc7583738020d (patch) | |
tree | 4f62a5baa9011c6c06ebbc07b2ee21dd67bda015 /plugins/mod_muc_mam.lua | |
parent | 15711dd7277ba77be28b96dab214e8952e37b3b2 (diff) | |
download | prosody-808d1c46bb6e783e57b42a4c7a5fc7583738020d.tar.gz prosody-808d1c46bb6e783e57b42a4c7a5fc7583738020d.zip |
mod_muc_mam: Fix missing form container element
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index 3013bb49..166a5c71 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -98,7 +98,7 @@ local query_form = dataform { -- Serve form module:hook("iq-get/bare/"..xmlns_mam..":query", function(event) local origin, stanza = event.origin, event.stanza; - origin.send(st.reply(stanza):add_child(query_form:form())); + origin.send(st.reply(stanza):tag("query", { xmlns = xmlns_mam }):add_child(query_form:form())); return true; end); |