# HG changeset patch # User Kim Alvefur # Date 1587574107 -7200 # Node ID 16002abe61b153dea541264aff9dc19083658f5c # Parent 3967cf10de1b1263174cf33d1779b39f4adf3f96 mod_mam: Keep chat markers (thanks Ge0rG) diff -r 3967cf10de1b -r 16002abe61b1 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Wed Apr 22 18:47:06 2020 +0200 +++ b/plugins/mod_mam/mod_mam.lua Wed Apr 22 18:48:27 2020 +0200 @@ -301,6 +301,9 @@ -- and the same applies to the receipt return true, "receipt"; end + if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then + return true, "marker"; + end if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then return true, "invite";