This commit is contained in:
Manav Rathi
2024-07-04 15:19:11 +05:30
parent 73b78916de
commit 0ce729a312

View File

@@ -635,7 +635,11 @@ class UploadManager {
enteFile: decryptedFile,
localFile: file,
});
if (UPLOAD_RESULT.UPLOADED == uploadResult)
if (
uploadResult == UPLOAD_RESULT.UPLOADED ||
uploadResult ==
UPLOAD_RESULT.UPLOADED_WITH_STATIC_THUMBNAIL
)
indexNewUpload(decryptedFile, file);
} catch (e) {
log.warn("Ignoring error in fileUploaded handlers", e);