mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
crypto/decryptolm: don't use deleted sessions for decrypting
Some checks failed
Some checks failed
This commit is contained in:
parent
1170825b09
commit
b4551fc3da
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ func (mach *OlmMachine) tryDecryptOlmCiphertextWithExistingSession(ctx context.C
|
|||
Msg("Deleted olm session")
|
||||
}
|
||||
}
|
||||
sessions = sessions[:MaxOlmSessionsPerDevice]
|
||||
}
|
||||
|
||||
for _, session := range sessions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue