changeset 2178:24c9c0255235

mod_mam_muc: Fix previous commit
author Kim Alvefur <zash@zash.se>
date Sun, 22 May 2016 00:06:21 +0200
parents 530feb0e23ff
children a90c7d7e7413
files mod_mam_muc/mod_mam_muc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)