From 89f2aa669956c99cb0dbbffb9a5d3cdbc1c53d20 Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Sat, 7 Sep 2024 09:52:17 +1000 Subject: [PATCH] smol changes --- client/src/components/modals/MediaRender.tsx | 2 +- client/src/components/routes/Thread.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/modals/MediaRender.tsx b/client/src/components/modals/MediaRender.tsx index 670f821..de3533d 100644 --- a/client/src/components/modals/MediaRender.tsx +++ b/client/src/components/modals/MediaRender.tsx @@ -93,7 +93,7 @@ const RenderMedia = ({ files }: { files: string[] }) => { ); } - if (file && (file.endsWith(".mp4") || file.endsWith(".webm"))) { + if (file && (file.endsWith(".mp4") || file.endsWith(".webm")) && mediaCheckResult && mediaCheckResult.nsfwLabel === 'neutral') { return (