From d67309650c518c849867890a2ca6b7f15af978c9 Mon Sep 17 00:00:00 2001 From: Gaurav Chaudhary Date: Tue, 22 Sep 2026 15:48:04 +0000 Subject: [PATCH] Fix encrypted audio attachment playback (#610) --- src/app/components/ContentLinkBlock.svelte | 3 +- .../components/ContentLinkBlockAudio.svelte | 57 +++++++++++++++++++ .../components/ContentLinkBlockImage.svelte | 26 +++------ src/app/content.ts | 23 ++++++++ 4 files changed, 91 insertions(+), 18 deletions(-) create mode 100644 src/app/components/ContentLinkBlockAudio.svelte diff --git a/src/app/components/ContentLinkBlock.svelte b/src/app/components/ContentLinkBlock.svelte index ed06ecea..09c6c8b3 100644 --- a/src/app/components/ContentLinkBlock.svelte +++ b/src/app/components/ContentLinkBlock.svelte @@ -22,6 +22,7 @@ import Link from "@lib/components/Link.svelte" import Spinner from "@lib/components/Spinner.svelte" import ContentLinkDetail from "@app/components/ContentLinkDetail.svelte" + import ContentLinkBlockAudio from "@app/components/ContentLinkBlockAudio.svelte" import ContentLinkUrl from "@app/components/ContentLinkUrl.svelte" import ContentLinkBlockImage from "@app/components/ContentLinkBlockImage.svelte" import {pushModal} from "@app/modal" @@ -78,7 +79,7 @@ {#if isRoomOrRelay} {:else if isAudio} - + {:else if isVideo}