# HG changeset patch # User Stuart Carnie # Date 1413846924 25200 # Node ID 71d85bc0dea85cc241efc1617ee48c86f38fcec2 # Parent 7d86fc47799340deeefe979de8d2c3a0977ab45a mod_mam_muc: Fix for muc history query diff -r 7d86fc477993 -r 71d85bc0dea8 mod_mam_muc/mod_mam_muc.lua --- 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