mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_mam: Add coment on how 'complete' works
This commit is contained in:
parent
48a65eed67
commit
b7fc41affc
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue