# HG changeset patch # User Kim Alvefur # Date 1528582474 -7200 # Node ID 65d1a80d356592b57c5b4122f62f71a1df2037b7 # Parent faca839ddbbbba4ec76eec1a261f30ba8388b18c mod_mam: Add coment on how 'complete' works diff -r faca839ddbbb -r 65d1a80d3565 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Sat Jun 09 23:57:58 2018 +0200 +++ b/plugins/mod_mam/mod_mam.lua Sun Jun 10 00:14:34 2018 +0200 @@ -168,6 +168,8 @@ for id, item, when in data do count = count + 1; if count > qmax then + -- We requested qmax+1 items. If that many items are retrieved then + -- there are more results to page through, so: complete = nil; break; end