Comparison

mod_mam/mod_mam.lua @ 2725:210c3a7644cb

mod_mam: Use correct variable
author Kim Alvefur <zash@zash.se>
date Thu, 27 Apr 2017 12:41:53 +0200
parent 2724:9f17d0f28d77
child 2760:7c2416a1eb94
comparison
equal deleted inserted replaced
2724:9f17d0f28d77 2725:210c3a7644cb
154 start = qstart; ["end"] = qend; -- Time range 154 start = qstart; ["end"] = qend; -- Time range
155 with = qwith; 155 with = qwith;
156 limit = qmax + 1; 156 limit = qmax + 1;
157 before = before; after = after; 157 before = before; after = after;
158 reverse = reverse; 158 reverse = reverse;
159 total = get_total; 159 total = use_total;
160 }); 160 });
161 161
162 if not data then 162 if not data then
163 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); 163 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err));
164 return true; 164 return true;