# HG changeset patch # User Matthew Wild # Date 1631962308 -3600 # Node ID 6c57b9e31586d2cb144eb2cf9204576348b50338 # Parent 59f53cf665735fa3ea457c20b4e1f4cc8941a1fa mod_muc_markers: Don't skip archiving markable messages (thanks nicoco) diff -r 59f53cf66573 -r 6c57b9e31586 mod_muc_markers/mod_muc_markers.lua --- a/mod_muc_markers/mod_muc_markers.lua Thu Sep 16 22:57:52 2021 +0200 +++ b/mod_muc_markers/mod_muc_markers.lua Sat Sep 18 11:51:48 2021 +0100 @@ -76,8 +76,8 @@ module:hook("muc-message-is-historic", function (event) local marker = event.stanza:get_child(nil, xmlns_markers); - -- Prevent stanza from reaching the archive (it's just noise) - if marker then + if marker and marker.name ~= "markable" then + -- Prevent stanza from reaching the archive (it's just noise) return false; end end);