fix force conversion

This commit is contained in:
Abhinav 2023-12-08 15:37:42 +05:30
parent 5e4709f38c
commit 69c817b2b4

View file

@ -209,7 +209,7 @@ class DownloadManager {
);
return converted;
};
if (!this.fileConversionPromises.has(file.id)) {
if (forceConvert || !this.fileConversionPromises.has(file.id)) {
this.fileConversionPromises.set(
file.id,
getFileForPreviewPromise()