plugins/mod_muc_mam.lua
branch0.11
changeset 9847 17060708d0eb
parent 9846 6f39be2e0be5
child 9849 774b2ce62318
child 9884 78885b1bbb91
equal deleted inserted replaced
9846:6f39be2e0be5 9847:17060708d0eb
   339 	end
   339 	end
   340 
   340 
   341 	-- Policy check
   341 	-- Policy check
   342 	if not archiving_enabled(self) then return end -- Don't log
   342 	if not archiving_enabled(self) then return end -- Don't log
   343 
   343 
       
   344 	-- Save the type in the 'with' field, allows storing presence without conflicts
   344 	local with = stanza.name
   345 	local with = stanza.name
   345 	if stanza.attr.type then
   346 	if stanza.attr.type then
   346 		with = with .. "<" .. stanza.attr.type
   347 		with = with .. "<" .. stanza.attr.type
   347 	end
   348 	end
   348 
   349