Redact megolm sessions when device is deleted

This commit is contained in:
Tulir Asokan 2023-04-11 12:55:23 +03:00
commit 43d58fbad2
3 changed files with 23 additions and 0 deletions

View file

@ -71,6 +71,7 @@ type OlmMachine struct {
DeletePreviousKeysOnReceive bool
RatchetKeysOnDecrypt bool
DeleteFullyUsedKeysOnDecrypt bool
DeleteKeysOnDeviceDelete bool
}
// StateStore is used by OlmMachine to get room state information that's needed for encryption.