Diff

mod_mam_muc/mod_mam_muc.lua @ 2178:24c9c0255235

mod_mam_muc: Fix previous commit
author Kim Alvefur <zash@zash.se>
date Sun, 22 May 2016 00:06:21 +0200
parent 2177:530feb0e23ff
child 2414:97b4229982f5
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua	Sun May 22 00:00:46 2016 +0200
+++ b/mod_mam_muc/mod_mam_muc.lua	Sun May 22 00:06:21 2016 +0200
@@ -366,7 +366,7 @@
 	if stanza.attr.type then
 		with = with .. "<" .. stanza.attr.type
 	end
-	archive:append(room, stanza, nil, time_now(), with);
+	archive:append(room, nil, stanza, time_now(), with);
 end
 
 module:hook("muc-broadcast-message", function (event)