Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Benjamin Lee 0cdf03288a
fix missing next_batch for search
The previous code would fail to return next_batch if any of the events
in the window were not visible to the user. It would also return an
unnecessary next_batch when no more results are available if the total
number of results is exactly `skip + limit`.

This bug will become much more severe with a full filtering
implementation, because we will be more likely to trigger it by
filtering out events in a search call. Currently, it is only possible to
trigger with rooms that have history visibility set to "invited" or
"joined".
2024-06-04 01:12:53 -07:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
nix add all-features devshell 2024-05-30 21:19:08 -07:00
src fix missing next_batch for search 2024-06-04 01:12:53 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore allow loading env vars from .env if it exists 2024-05-14 20:08:37 -07:00
.gitlab-ci.yml pin nixos/nix to 2.18.2 2024-05-26 19:47:00 -07:00
Cargo.lock set up opentelemetry for metrics 2024-06-03 18:18:44 -07:00
Cargo.toml set up opentelemetry for metrics 2024-06-03 18:18:44 -07:00
clippy.toml enable doc_markdown lint 2024-05-14 16:34:10 -07:00
default.nix feat: support non-flake users 2024-02-01 19:19:56 -08:00
engage.toml test all-features in CI 2024-05-30 21:19:09 -07:00
flake.lock update flake.lock 2024-05-24 20:08:54 -07:00
flake.nix add all-features devshell 2024-05-30 21:19:08 -07:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
rust-toolchain.toml update the rust toolchain, ignore new lints 2024-05-24 20:09:41 -07:00
rustfmt.toml enable error_on_line_overflow and fix errors 2024-05-16 19:11:40 -07:00