Fix downloading document that cannot be played
This commit is contained in:
parent
110fd3d90d
commit
dc8c6fd185
@ -675,7 +675,7 @@ export function wrapDocument({message, withTime, fontWeight, voiceAsMusic, showS
|
|||||||
window.open(url);
|
window.open(url);
|
||||||
}, rootScope.settings.animationsEnabled ? 250 : 0);
|
}, rootScope.settings.animationsEnabled ? 250 : 0);
|
||||||
});
|
});
|
||||||
} else if(MEDIA_MIME_TYPES_SUPPORTED.has(doc.mime_type)) {
|
} else if(MEDIA_MIME_TYPES_SUPPORTED.has(doc.mime_type) && doc.thumbs?.length) {
|
||||||
download = appDocsManager.downloadDoc(doc, queueId);
|
download = appDocsManager.downloadDoc(doc, queueId);
|
||||||
} else {
|
} else {
|
||||||
download = appDocsManager.saveDocFile(doc, queueId);
|
download = appDocsManager.saveDocFile(doc, queueId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user