plugins/mod_muc_mam.lua
branch0.11
changeset 9847 17060708d0eb
parent 9846 6f39be2e0be5
child 9849 774b2ce62318
child 9884 78885b1bbb91
--- 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