Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 8137:484ea6201c6c
mod_mam: Use correct variable
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 27 Apr 2017 12:41:53 +0200 |
| parents | 6ddddfe05a74 |
| children | 2bda04a7b4d4 |
comparison
equal
deleted
inserted
replaced
| 8136:aba6d148e674 | 8137:484ea6201c6c |
|---|---|
| 137 start = qstart; ["end"] = qend; -- Time range | 137 start = qstart; ["end"] = qend; -- Time range |
| 138 with = qwith; | 138 with = qwith; |
| 139 limit = qmax + 1; | 139 limit = qmax + 1; |
| 140 before = before; after = after; | 140 before = before; after = after; |
| 141 reverse = reverse; | 141 reverse = reverse; |
| 142 total = get_total; | 142 total = use_total; |
| 143 }); | 143 }); |
| 144 | 144 |
| 145 if not data then | 145 if not data then |
| 146 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); | 146 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); |
| 147 return true; | 147 return true; |
