Comparison

plugins/mod_muc_mam.lua @ 11744:5f99aa6bb76d

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.
author Holger Weiss <holger@zedat.fu-berlin.de>
date Fri, 06 Aug 2021 19:25:43 +0200
parent 11282:cabb022f31c0
child 11816:eff0eeece24d
comparison
equal deleted inserted replaced
11743:856dada099fa 11744:5f99aa6bb76d
271 first, last = last, first; 271 first, last = last, first;
272 end 272 end
273 273
274 274
275 origin.send(st.reply(stanza) 275 origin.send(st.reply(stanza)
276 :tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete }) 276 :tag("fin", { xmlns = xmlns_mam, complete = complete })
277 :add_child(rsm.generate { 277 :add_child(rsm.generate {
278 first = first, last = last, count = total })); 278 first = first, last = last, count = total }));
279 279
280 -- That's all folks! 280 -- That's all folks!
281 module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, complete and count or count - 1); 281 module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, complete and count or count - 1);