From 73c4caf2e18c8ca1d74eeb83da2acf755cad4a45 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sun, 23 Aug 2026 18:39:30 +0530 Subject: [PATCH] fix encrypted video not rendering --- src/app/components/message/MsgTypeRenderers.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/message/MsgTypeRenderers.tsx b/src/app/components/message/MsgTypeRenderers.tsx index a1654ecb..e9ebe841 100644 --- a/src/app/components/message/MsgTypeRenderers.tsx +++ b/src/app/components/message/MsgTypeRenderers.tsx @@ -311,7 +311,7 @@ type MVideoProps = { }; export function MVideo({ content, mediaAutoLoad, outlined }: MVideoProps) { const videoInfo = rContent.info(content); - const mxcUrl = rEncryptedFile.url(rContent.file) ?? rContent.url(content); + const mxcUrl = rEncryptedFile.url(rContent.file(content)) ?? rContent.url(content); const safeMimeType = getBlobSafeMimeType(rInfo.mimetype(videoInfo) ?? ''); if (!videoInfo || !safeMimeType.startsWith('video') || typeof mxcUrl !== 'string') {