Changeset

10567:3df479098696 0.11

mod_mam: Fix rebase mistake [luacheck] The 'err' was there in trunk
author Kim Alvefur <zash@zash.se>
date Tue, 24 Dec 2019 01:01:05 +0100
parents 10566:f4d12b1434c6
children 10568:b6f93babebe8 10569:fdc2bae50100
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Tue Dec 24 01:00:35 2019 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Tue Dec 24 01:01:05 2019 +0100
@@ -297,7 +297,7 @@
 		log("debug", "Archiving stanza: %s", stanza:top_tag());
 
 		-- And stash it
-		local ok = archive:append(store_user, nil, clone_for_storage, time_now(), with);
+		local ok, err = archive:append(store_user, nil, clone_for_storage, time_now(), with);
 		if ok then
 			local clone_for_other_handlers = st.clone(stanza);
 			local id = ok;