fix: Throw an error if all existing olm sessions are corrupted
This commit is contained in:
parent
65d07609d4
commit
734ec0357b
|
|
@ -297,7 +297,7 @@ class OlmManager {
|
|||
}
|
||||
}
|
||||
if (plaintext == null && type != 0) {
|
||||
return event;
|
||||
throw ('Unable to decrypt with any existing OLM session');
|
||||
}
|
||||
|
||||
if (plaintext == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue