This commit is contained in:
Jiiks 2018-08-12 22:09:34 +03:00
parent 3f5b2afbd5
commit 856334cf30
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ export default new class E2EE extends BuiltinModule {
const cached = Cache.find('e2ee:images', item => item.src === src);
if (cached) {
if (cached.invalidKey) {
if (cached.invalidKey) { // TODO If key has changed we should recheck all with invalid key
component.props.className = 'bd-encryptedImage bd-encryptedImageBadKey';
component.props.readyState = 'READY';
return;