crypto/decryptmegolm: add option to ignore failing to parse content after decryption
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-04-14 23:08:11 +03:00
commit 99ff0c0964
2 changed files with 3 additions and 1 deletions

View file

@ -44,6 +44,8 @@ type OlmMachine struct {
// Don't mark outbound Olm sessions as shared for devices they were initially sent to.
DisableSharedGroupSessionTracking bool
IgnorePostDecryptionParseErrors bool
SendKeysMinTrust id.TrustState
ShareKeysMinTrust id.TrustState