diff mod_mam_muc/mod_mam_muc.lua @ 1532:71d85bc0dea8

mod_mam_muc: Fix for muc history query
author Stuart Carnie <stuart.carnie@gmail.com>
date Mon, 20 Oct 2014 16:15:24 -0700
parents 67c80abe742e
children 915bdcb35e79
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua	Mon Oct 20 13:15:55 2014 +0200
+++ b/mod_mam_muc/mod_mam_muc.lua	Mon Oct 20 16:15:24 2014 -0700
@@ -220,7 +220,7 @@
 	-- Load all the data!
 	local data, err = archive:find(jid_split(self.jid), {
 		limit = m_min(maxstanzas or 20, max_history_length);
-		after = since;
+		start = since;
 		reverse = true;
 		with = "message<groupchat";
 	});