Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 11337:f89c8e6beaa6
mod_mam: Remove obsolete 'queryid' attribute from iq-result (thanks paul)
Mentioned in xmpp:xsf@muc.xmpp.org?join
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 29 Jan 2021 17:01:05 +0100 |
| parents | 142fb655b885 |
| children | f3aee8a825cc |
comparison
equal
deleted
inserted
replaced
| 11336:b05331cff47a | 11337:f89c8e6beaa6 |
|---|---|
| 231 if reverse then | 231 if reverse then |
| 232 first, last = last, first; | 232 first, last = last, first; |
| 233 end | 233 end |
| 234 | 234 |
| 235 origin.send(st.reply(stanza) | 235 origin.send(st.reply(stanza) |
| 236 :tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete }) | 236 :tag("fin", { xmlns = xmlns_mam, complete = complete }) |
| 237 :add_child(rsm.generate { | 237 :add_child(rsm.generate { |
| 238 first = first, last = last, count = total })); | 238 first = first, last = last, count = total })); |
| 239 | 239 |
| 240 -- That's all folks! | 240 -- That's all folks! |
| 241 module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, complete and count or count - 1); | 241 module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, complete and count or count - 1); |
