mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Update src/utils/DecryptFile.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3b9810719f
commit
82c34e9ed1
@ -31,7 +31,7 @@ import { getBlobSafeMimeType } from "./blobs";
|
||||
*/
|
||||
export function decryptFile(
|
||||
file: IEncryptedFile,
|
||||
info: IMediaEventInfo | undefined,
|
||||
info?: IMediaEventInfo,
|
||||
): Promise<Blob> {
|
||||
const media = mediaFromContent({ file });
|
||||
// Download the encrypted file as an array buffer.
|
||||
|
Loading…
x
Reference in New Issue
Block a user