author | Kim Alvefur <zash@zash.se> |
Sun, 03 Sep 2017 12:43:24 +0200 | |
changeset 2765 | b13d07613b80 |
parent 2764 | 7c2416a1eb94 |
child 2766 | f2096c03428b |
--- a/mod_mam/mod_mam.lua Sun Sep 03 00:35:31 2017 +0200 +++ b/mod_mam/mod_mam.lua Sun Sep 03 12:43:24 2017 +0200 @@ -330,6 +330,7 @@ local function strip_stanza_id(event) local strip_by = jid_bare(event.origin.full_jid); + event.stanza = st.clone(event.stanza); event.stanza:maptags(function(tag) if not ( tag.attr.xmlns == xmlns_st_id and tag.attr.by == strip_by ) then return tag;