From f22e6fa9fea5b1bc03a8614fc89f1174974023fc Mon Sep 17 00:00:00 2001 From: Asraye Date: Thu, 4 Sep 2025 04:22:20 +1000 Subject: [PATCH] fix: correct open/download link behaviour --- .../common/messaging/attachments/AttachmentActions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/messaging/attachments/AttachmentActions.tsx b/src/components/common/messaging/attachments/AttachmentActions.tsx index a667f400..6d419f4b 100644 --- a/src/components/common/messaging/attachments/AttachmentActions.tsx +++ b/src/components/common/messaging/attachments/AttachmentActions.tsx @@ -26,8 +26,8 @@ export default function AttachmentActions({ attachment }: Props) { const { filename, metadata, size } = attachment; const url = client.generateFileURL(attachment); - const open_url = `${url}/${filename}`; - const download_url = url; + const open_url = url; + const download_url = `${url}/${filename}`; const filesize = determineFileSize(size);