From 6a6162ec6ec53daf8ac9de16eb08cd039320af29 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 23 Feb 2024 18:07:42 +0800 Subject: [PATCH] Use readOnly, respect CWs for statuses in notifications --- src/components/notification.jsx | 4 ++-- src/components/status.jsx | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/notification.jsx b/src/components/notification.jsx index 264ce4f7..aeeb1065 100644 --- a/src/components/notification.jsx +++ b/src/components/notification.jsx @@ -334,14 +334,14 @@ function Notification({ ) : ( )} diff --git a/src/components/status.jsx b/src/components/status.jsx index f11376d3..f97f19bc 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1503,7 +1503,7 @@ function Status({ {size !== 'l' && (_deleted ? ( Deleted - ) : url && !previewMode && !quoted ? ( + ) : url && !previewMode && !readOnly && !quoted ? ( { @@ -1551,7 +1551,9 @@ function Status({ /> )}{' '} - {!previewMode && } + {!previewMode && !readOnly && ( + + )} ) : ( //