From e5aa8c081a16a58f8c29b1a00c039f36f68fbc35 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Mon, 20 May 2024 22:16:53 +0100
Subject: in-convo muted chat indicator (#4127)

---
 src/components/dms/MessagesListHeader.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/components/dms/MessagesListHeader.tsx')

diff --git a/src/components/dms/MessagesListHeader.tsx b/src/components/dms/MessagesListHeader.tsx
index a6dff4032..0a0cd20da 100644
--- a/src/components/dms/MessagesListHeader.tsx
+++ b/src/components/dms/MessagesListHeader.tsx
@@ -20,6 +20,7 @@ import {isConvoActive, useConvo} from 'state/messages/convo'
 import {PreviewableUserAvatar} from 'view/com/util/UserAvatar'
 import {atoms as a, useBreakpoints, useTheme, web} from '#/alf'
 import {ConvoMenu} from '#/components/dms/ConvoMenu'
+import {Bell2Off_Filled_Corner0_Rounded as BellStroke} from '#/components/icons/Bell2'
 import {Link} from '#/components/Link'
 import {Text} from '#/components/Typography'
 
@@ -176,6 +177,13 @@ function HeaderReady({
               ]}
               numberOfLines={1}>
               @{profile.handle}
+              {convoState.convo?.muted && (
+                <>
+                  {' '}
+                  &middot;{' '}
+                  <BellStroke size="xs" style={t.atoms.text_contrast_medium} />
+                </>
+              )}
             </Text>
           )}
         </View>
-- 
cgit 1.4.1

