1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-29 03:08:31 +00:00
continuwuity/src/api/client
Benjamin Lee 73da353e52 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".

Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-06-12 14:04:47 -04:00
..
account.rs remove pfps/avatars and display names upon deactivation 2024-06-11 01:19:18 -04:00
alias.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
backup.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
capabilities.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
config.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
context.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
device.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
directory.rs log client/remote IP address on various routes tracing calls 2024-06-10 21:04:51 -04:00
filter.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
keys.rs Fix futures not Send 2024-06-09 20:06:50 +00:00
media.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
membership.rs remove pfps/avatars and display names upon deactivation 2024-06-11 01:19:18 -04:00
message.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
mod.rs slightly dedupe pfp/displayname updates, update blurhash in PDUs too 2024-06-11 01:19:18 -04:00
presence.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
profile.rs slightly dedupe pfp/displayname updates, update blurhash in PDUs too 2024-06-11 01:19:18 -04:00
push.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
read_marker.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
redact.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
relations.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
report.rs Fix equatable if let 2024-06-09 20:06:50 +00:00
room.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
search.rs fix missing next_batch for search 2024-06-12 14:04:47 -04:00
session.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
space.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
state.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
sync.rs slightly adjust sliding sync code for ruma bump 2024-06-10 17:20:59 -04:00
tag.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
thirdparty.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
threads.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
to_device.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
typing.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
unstable.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
unversioned.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
user_directory.rs rename api::client_server to api::client 2024-06-06 18:21:40 +00:00
voip.rs add config option to allow guests to access TURN server 2024-06-07 15:09:59 -04:00