crypto: Add some TODOs for the key query handling.
This commit is contained in:
parent
a60f60bd7d
commit
3573614640
1 changed files with 9 additions and 0 deletions
|
@ -679,6 +679,15 @@ impl OlmMachine {
|
|||
&self,
|
||||
response: &KeysQueryResponse,
|
||||
) -> OlmResult<(Vec<ReadOnlyDevice>, Vec<UserIdentities>)> {
|
||||
// TODO create a enum that tells us how the device/identity changed,
|
||||
// e.g. new/deleted/display name change.
|
||||
//
|
||||
// TODO create a struct that will hold the device/identity and the
|
||||
// change enum and return the struct.
|
||||
//
|
||||
// TODO once outbound group sessions hold on to the set of users that
|
||||
// received the session, invalidate the session if a user device
|
||||
// got added/deleted.
|
||||
let changed_devices = self
|
||||
.handle_devices_from_key_query(&response.device_keys)
|
||||
.await?;
|
||||
|
|
Loading…
Reference in a new issue