mod_muc_mam: Omit queryid attribute from <fin/>

Since version 0.4 of XEP-0313, the <fin/> element is sent with the IQ
result and no longer has a queryid attribute.
This commit is contained in:
Holger Weiss 2021-08-06 19:25:43 +02:00
parent 76189039ae
commit 6742da8c10

View file

@ -273,7 +273,7 @@ module:hook("iq-set/bare/"..xmlns_mam..":query", function(event)
origin.send(st.reply(stanza)
:tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete })
:tag("fin", { xmlns = xmlns_mam, complete = complete })
:add_child(rsm.generate {
first = first, last = last, count = total }));