You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Element-R: silence log errors when viewing a decryption failure (#3821)
This commit is contained in:
committed by
GitHub
parent
6e2ac03f7e
commit
12e479a93e
@@ -1649,7 +1649,7 @@ class EventDecryptor {
|
||||
}
|
||||
|
||||
public async getEncryptionInfoForEvent(event: MatrixEvent): Promise<EventEncryptionInfo | null> {
|
||||
if (!event.getClearContent()) {
|
||||
if (!event.getClearContent() || event.isDecryptionFailure()) {
|
||||
// not successfully decrypted
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user