Fix iOS not uploading correctly to web

This commit is contained in:
Diego Mello 2024-05-21 11:49:40 -03:00
parent 2543aa2f9c
commit 2a340281e0
1 changed files with 3 additions and 3 deletions

View File

@ -288,9 +288,9 @@ export default class EncryptionRoom {
const getContent = async (_id: string, fileUrl: string) => { const getContent = async (_id: string, fileUrl: string) => {
const attachments = []; const attachments = [];
let att = { let att = {
title: attachment.filename, title: attachment.name,
type: attachment.type, type: 'file',
mime: attachment.type, // mime: attachment.type,
size: attachment.size, size: attachment.size,
description: attachment.description, description: attachment.description,
encryption: { encryption: {