From 4b2bee8a2f7a41aaa4c19dd5a089181bb22780c5 Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Sun, 30 Mar 2025 15:46:13 +0200 Subject: [PATCH] Chat: Fix muted state (#5752) --- src/components/common/Composer.tsx | 26 ++++++++++++---------- src/components/left/main/Chat.tsx | 1 + src/global/actions/api/chats.ts | 11 +++++++-- src/global/actions/apiUpdaters/messages.ts | 11 +++++++-- src/global/cache.ts | 5 +++-- src/global/reducers/settings.ts | 12 ++++++++++ src/hooks/useChatContextActions.ts | 11 +++++---- src/util/notifications.tsx | 3 ++- 8 files changed, 57 insertions(+), 23 deletions(-) diff --git a/src/components/common/Composer.tsx b/src/components/common/Composer.tsx index 5ba2cf48e..3852a14e3 100644 --- a/src/components/common/Composer.tsx +++ b/src/components/common/Composer.tsx @@ -1923,18 +1923,20 @@ const Composer: FC = ({ {!hasText && ( <> {isChannel && ( - + + + )} {withScheduledButton && (