aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2021-08-06 19:25:43 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2021-08-06 19:25:43 +0200
commit6742da8c10807b16d66984a4a05ce8637fe32c4e (patch)
treefb90a6442513a743f830ca04434b8b766ff750da /plugins/mod_muc_mam.lua
parent76189039ae0f355abfae3d642b2d32e41fd224e5 (diff)
downloadprosody-6742da8c10807b16d66984a4a05ce8637fe32c4e.tar.gz
prosody-6742da8c10807b16d66984a4a05ce8637fe32c4e.zip
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.
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua
index 6e8eb844..e30e3d33 100644
--- a/plugins/mod_muc_mam.lua
+++ b/plugins/mod_muc_mam.lua
@@ -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 }));