Diff

plugins/mod_muc_mam.lua @ 10566:f4d12b1434c6 0.11

mod_muc_mam: Fix rebase mistake [luacheck] The 'err' was there in trunk
author Kim Alvefur <zash@zash.se>
date Tue, 24 Dec 2019 01:00:35 +0100
parent 10562:670afc079f68
child 10568:b6f93babebe8
child 10670:5376f882cf82
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Tue Dec 24 00:26:40 2019 +0100
+++ b/plugins/mod_muc_mam.lua	Tue Dec 24 01:00:35 2019 +0100
@@ -352,7 +352,7 @@
 	end
 
 	-- And stash it
-	local id = archive:append(room_node, nil, stored_stanza, time_now(), with);
+	local id, err = archive:append(room_node, nil, stored_stanza, time_now(), with);
 
 	if id then
 		schedule_cleanup(room_node);