changeset 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 (2014-10-20)
parents 7d86fc477993
children 915bdcb35e79
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	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";
 	});