aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-04 12:57:42 +0100
committerKim Alvefur <zash@zash.se>2019-03-04 12:57:42 +0100
commit2c8eecf7c2b3c27a4c3f29f49a081be2a578ae90 (patch)
treeaf485c5e80c731a2b09df1aaed06f3e1d0b63eab /plugins/mod_muc_mam.lua
parentdad8bb5feebd8d32c1d4172d205b871e824d42b8 (diff)
downloadprosody-2c8eecf7c2b3c27a4c3f29f49a081be2a578ae90.tar.gz
prosody-2c8eecf7c2b3c27a4c3f29f49a081be2a578ae90.zip
mod_muc_mam: Move a comment to the line it describes
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua
index c92e22cd..c9430ae8 100644
--- a/plugins/mod_muc_mam.lua
+++ b/plugins/mod_muc_mam.lua
@@ -341,12 +341,12 @@ local function save_to_history(self, stanza)
-- Policy check
if not archiving_enabled(self) then return end -- Don't log
- -- And stash it
local with = stanza.name
if stanza.attr.type then
with = with .. "<" .. stanza.attr.type
end
+ -- And stash it
local id = archive:append(room_node, nil, stored_stanza, time_now(), with);
if id then