From 2a340281e01f24776003fe84aa1251a7133aa475 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 21 May 2024 11:49:40 -0300 Subject: [PATCH] Fix iOS not uploading correctly to web --- app/lib/encryption/room.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/lib/encryption/room.ts b/app/lib/encryption/room.ts index 541959c97..c6d12d201 100644 --- a/app/lib/encryption/room.ts +++ b/app/lib/encryption/room.ts @@ -288,9 +288,9 @@ export default class EncryptionRoom { const getContent = async (_id: string, fileUrl: string) => { const attachments = []; let att = { - title: attachment.filename, - type: attachment.type, - mime: attachment.type, + title: attachment.name, + type: 'file', + // mime: attachment.type, size: attachment.size, description: attachment.description, encryption: {