diff options
author | Kim Alvefur <zash@zash.se> | 2017-07-06 11:24:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-07-06 11:24:36 +0200 |
commit | a65cd04e353b849f6a3cda6ca746378dd309ee28 (patch) | |
tree | d54d6743becde2246fed6859f25ec6ee72e0d080 /plugins/mod_mam/mod_mam.lua | |
parent | 87805f6e4ed7b0eef2c92cea969da097a53912fe (diff) | |
parent | 39bcea0025949af9de9555dee3c2c3f9a5cb7249 (diff) | |
download | prosody-a65cd04e353b849f6a3cda6ca746378dd309ee28.tar.gz prosody-a65cd04e353b849f6a3cda6ca746378dd309ee28.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-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 b40b8a9a..1dcce4e4 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -141,7 +141,7 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event) limit = qmax + 1; before = before; after = after; reverse = reverse; - total = use_total; + total = use_total or qmax == 0; }); if not data then |