diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-27 12:41:53 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-27 12:41:53 +0200 |
commit | 8617a1c4c824e3d3ed7d8ca27357625ba2ca2fd7 (patch) | |
tree | 74e038cc4320131b2c65311ad278279e3a669c52 /plugins/mod_mam | |
parent | d03a886817b5f3e9d5a653744d6b5fcf2871477a (diff) | |
download | prosody-8617a1c4c824e3d3ed7d8ca27357625ba2ca2fd7.tar.gz prosody-8617a1c4c824e3d3ed7d8ca27357625ba2ca2fd7.zip |
mod_mam: Use correct variable
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index f46d3818..accb047b 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -139,7 +139,7 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event) limit = qmax + 1; before = before; after = after; reverse = reverse; - total = get_total; + total = use_total; }); if not data then |