diff options
author | Kim Alvefur <zash@zash.se> | 2019-03-04 12:58:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-03-04 12:58:20 +0100 |
commit | 01f4b12e155b549fedc814f2c63b58d5ea72e201 (patch) | |
tree | b78304145c89acab93658f30416dbd1e81221dc5 | |
parent | e209e82f10a20cb02253f28e4edd9694234f84c5 (diff) | |
download | prosody-01f4b12e155b549fedc814f2c63b58d5ea72e201.tar.gz prosody-01f4b12e155b549fedc814f2c63b58d5ea72e201.zip |
mod_muc_mam: Add comment about the tricks done with the 'with' field
-rw-r--r-- | plugins/mod_muc_mam.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |