mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
SSS: fix timeline pagination
This commit is contained in:
parent
891eb410cc
commit
166a269034
2 changed files with 67 additions and 9 deletions
|
|
@ -375,8 +375,9 @@ pub(crate) async fn sync_events_v5_route(
|
|||
services().users.forget_sync_request_connection(&connection_key);
|
||||
}
|
||||
|
||||
let known_rooms =
|
||||
services().users.get_rooms_in_connection(connection_key.clone());
|
||||
let known_rooms = services()
|
||||
.users
|
||||
.get_rooms_in_connection(connection_key.clone(), globalsince);
|
||||
|
||||
let all_joined_rooms = joined_rooms_data(&sender_user);
|
||||
|
||||
|
|
@ -438,6 +439,7 @@ pub(crate) async fn sync_events_v5_route(
|
|||
connection_key.clone(),
|
||||
todo_rooms.keys().cloned().collect(),
|
||||
globalsince,
|
||||
next_batch,
|
||||
);
|
||||
|
||||
let mut rooms = BTreeMap::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue