decrypting should be set to false as well
This commit is contained in:
parent
ad35c89d7d
commit
3f5b2afbd5
|
@ -165,7 +165,10 @@ export default new class E2EE extends BuiltinModule {
|
|||
const validateHmac = await this.createHmac(data);
|
||||
if (hmac !== validateHmac) {
|
||||
Cache.push('e2ee:images', { src, invalidKey: true });
|
||||
if (component && component.props) component.forceUpdate();
|
||||
if (component && component.props) {
|
||||
component.props.decrypting = false;
|
||||
component.forceUpdate();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue