Add option to disable tracking megolm session ratchet state

The tracking is meant for bridges/bots that want to delete old ratchet states
after they're not needed, but for normal clients it's just unnecessary overhead
This commit is contained in:
Tulir Asokan 2024-05-16 17:14:08 +03:00
commit 3bd42f5a82
4 changed files with 9 additions and 3 deletions

View file

@ -78,6 +78,7 @@ type OlmMachine struct {
RatchetKeysOnDecrypt bool
DeleteFullyUsedKeysOnDecrypt bool
DeleteKeysOnDeviceDelete bool
DisableRatchetTracking bool
DisableDeviceChangeKeyRotation bool