From 09a662026a3fc4c69eda9d8ef8862abac5569625 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 4 Mar 2019 12:58:20 +0100 Subject: mod_muc_mam: Add comment about the tricks done with the 'with' field --- plugins/mod_muc_mam.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index c9430ae8..ede4e57a 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -341,6 +341,7 @@ local function save_to_history(self, stanza) -- Policy check if not archiving_enabled(self) then return end -- Don't log + -- Save the type in the 'with' field, allows storing presence without conflicts local with = stanza.name if stanza.attr.type then with = with .. "<" .. stanza.attr.type -- cgit v1.2.3