Add option to not rotate keys when devices change

This commit is contained in:
Tulir Asokan 2023-06-02 18:15:43 +03:00
commit 5b04875090
4 changed files with 8 additions and 0 deletions

View file

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