--- a/plugins/mod_mam/mod_mam.lua Thu Apr 27 10:58:02 2017 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Apr 27 12:41:53 2017 +0200 @@ -139,7 +139,7 @@ limit = qmax + 1; before = before; after = after; reverse = reverse; - total = get_total; + total = use_total; }); if not data then