plugins/mod_muc_mam.lua
branch0.11
changeset 10570 f4d12b1434c6
parent 10566 670afc079f68
child 10572 b6f93babebe8
child 10674 5376f882cf82
--- 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);