Merge branch 'soru/throw-on-no-valid-olm-session' into 'main'
fix: Throw an error if all existing olm sessions are corrupted See merge request famedly/famedlysdk!596
This commit is contained in:
commit
ed8af418f0
|
|
@ -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