mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_muc_mam: Add comment about the tricks done with the 'with' field
This commit is contained in:
parent
2c8eecf7c2
commit
09a662026a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue