equal
deleted
inserted
replaced
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 |