# HG changeset patch # User Kim Alvefur # Date 1551700700 -3600 # Node ID 17060708d0eb36cacd8f4590dc9b883e08f874cf # Parent 6f39be2e0be540e3f968182171753d662a1a78ec mod_muc_mam: Add comment about the tricks done with the 'with' field diff -r 6f39be2e0be5 -r 17060708d0eb plugins/mod_muc_mam.lua --- a/plugins/mod_muc_mam.lua Mon Mar 04 12:57:42 2019 +0100 +++ b/plugins/mod_muc_mam.lua Mon Mar 04 12:58:20 2019 +0100 @@ -341,6 +341,7 @@ -- 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