aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_mam/mod_mam.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 7ac2a512..06a20f4d 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -301,6 +301,9 @@ local function should_store(stanza) --> boolean, reason: string
-- 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";