From 142d17bfa75609c9a0d10a7788a66d26c410ddb5 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 4 Apr 2026 01:42:19 +0200 Subject: [PATCH] remove file extension as it triggers markdown rendering and requesting the url -> 404 --- webapp/components/Chat/Chat.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 54267c88b..79469a1a0 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -314,9 +314,7 @@ export default { if (text) return text.substring(0, 30) if (!files?.length) return '' if (files[0].type?.startsWith('audio/') || files[0].audio) return '' - const f = files[0] - const name = f.extension ? `${f.name}.${f.extension}` : f.name || '' - return `\uD83D\uDCCE ${name}` + return `\uD83D\uDCCE ${files[0].name || ''}` }, markAsSeen(messageIds) {