Fix thumbnails of received encrypted images

This commit is contained in:
Nicolas Werner 2022-03-22 04:32:11 +01:00
parent 43a1975e16
commit 30ba387076
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 8 additions and 3 deletions

View file

@ -720,6 +720,9 @@ EventStore::decryptEvent(const IdIndex &idx,
}
auto encInfo = mtx::accessors::file(decryptionResult.event.value());
if (encInfo)
emit newEncryptedImage(encInfo.value());
encInfo = mtx::accessors::thumbnail_file(decryptionResult.event.value());
if (encInfo)
emit newEncryptedImage(encInfo.value());