# HG changeset patch # User Stuart Carnie # Date 1427209405 25200 # Node ID 458c80904525f3ea7422b2c94aab09933ce77ddf # Parent aed20f9e78c853c19ecc5945d5f714b70c14b4bd mod_mam_muc: fix query diff -r aed20f9e78c8 -r 458c80904525 mod_mam_muc/mod_mam_muc.lua --- a/mod_mam_muc/mod_mam_muc.lua Mon Mar 16 16:19:53 2015 +0100 +++ b/mod_mam_muc/mod_mam_muc.lua Tue Mar 24 08:03:25 2015 -0700 @@ -138,7 +138,7 @@ }; -- Serve form -module:hook("iq-get/self/"..xmlns_mam..":query", function(event) +module:hook("iq-get/bare/"..xmlns_mam..":query", function(event) local origin, stanza = event.origin, event.stanza; return origin.send(st.reply(stanza):add_child(query_form:form())); end);