# HG changeset patch # User Kim Alvefur # Date 1345149068 -7200 # Node ID 966993356d2b9ba73a1ba15102d17af5bc64dacb # Parent 53917d98d411743dc50297f9bbde3bb4efb06bea mod_mam: Report id of first item and number of items sent. diff -r 53917d98d411 -r 966993356d2b mod_mam/mod_mam.lua --- a/mod_mam/mod_mam.lua Thu Aug 16 21:31:46 2012 +0200 +++ b/mod_mam/mod_mam.lua Thu Aug 16 22:31:08 2012 +0200 @@ -225,7 +225,7 @@ local reply = st.reply(stanza); if last then -- This is a bit redundant, isn't it? - reply:query(xmlns_mam):add_child(rsm.generate{last = last}); + reply:query(xmlns_mam):add_child(rsm.generate{first = first, last = last, count = n}); end origin.send(reply); return true