Software /
code /
prosody
Diff
plugins/mod_muc_mam.lua @ 9552:87e25d352de3
mod_muc_mam: Fix missing form container element
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 25 Oct 2018 21:21:22 +0200 |
parent | 9001:23070882f3d4 |
child | 9841:a44f562e01a5 |
child | 9844:3de80fc511ab |
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua Thu Oct 25 15:33:46 2018 +0100 +++ b/plugins/mod_muc_mam.lua Thu Oct 25 21:21:22 2018 +0200 @@ -98,7 +98,7 @@ -- 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);