mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
SSS: add TODOs
This commit is contained in:
parent
f9b2836405
commit
d51aea7672
1 changed files with 7 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ pub(crate) async fn sync_events_v5_route(
|
|||
&all_joined_rooms,
|
||||
)
|
||||
.await?,
|
||||
// TODO: only include this field when it has changed
|
||||
device_one_time_keys_count: services()
|
||||
.users
|
||||
.count_one_time_keys(&sender_user, &sender_device)?,
|
||||
|
|
@ -972,6 +973,12 @@ fn process_room(
|
|||
return Ok(None);
|
||||
};
|
||||
|
||||
// TODO: invalidate current_shortstatehash and send down all(?) state events
|
||||
// if effective requested required_state changes between requests:
|
||||
//
|
||||
// > If new entries are added to required_state then the server must send
|
||||
// > down matching current state events.
|
||||
|
||||
let need_scan = todo_room.required_state.all_events
|
||||
|| todo_room
|
||||
.required_state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue