mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
modules/client/rooms/messages: Fix loop condition off by one.
This commit is contained in:
parent
06e0c5cbbb
commit
8af5eea783
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ get__messages(client &client,
|
||||||
};
|
};
|
||||||
|
|
||||||
end = event.event_id;
|
end = event.event_id;
|
||||||
if(hit > page.limit || miss >= size_t(max_filter_miss))
|
if(hit >= page.limit || miss >= size_t(max_filter_miss))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
const bool ok
|
const bool ok
|
||||||
|
|
Loading…
Reference in a new issue