summary refs log tree commit diff
path: root/src/timeline/EventStore.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-22 04:32:11 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-22 04:32:11 +0100
commit30ba3870766ebdae647c400e52cabc65c0806c19 (patch)
tree6a9802efca6860c7a11c01ec7b797849b539b1b1 /src/timeline/EventStore.cpp
parentUpdate translations (diff)
downloadnheko-30ba3870766ebdae647c400e52cabc65c0806c19.tar.xz
Fix thumbnails of received encrypted images
Diffstat (limited to 'src/timeline/EventStore.cpp')
-rw-r--r--src/timeline/EventStore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp

index 1293245c..867b9cd2 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp
@@ -722,6 +722,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()); return asCacheEntry(std::move(decryptionResult)); }