diff --git a/src/components/common/messaging/attachments/AttachmentActions.tsx b/src/components/common/messaging/attachments/AttachmentActions.tsx index b6e5699d..8a4fe575 100644 --- a/src/components/common/messaging/attachments/AttachmentActions.tsx +++ b/src/components/common/messaging/attachments/AttachmentActions.tsx @@ -27,7 +27,7 @@ export default function AttachmentActions({ attachment }: Props) { const url = client.generateFileURL(attachment); const open_url = `${url}/${filename}`; - const download_url = url?.replace("attachments", "attachments/download"); + const download_url = url; const filesize = determineFileSize(size);