From ab4b010e95360405d344e2859df423dc9d3b02fe Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 12 Feb 2025 13:20:34 +0200 Subject: [PATCH] Pings are no longer visible in messages of blocked users --- internal/client/ui/core/chat/chat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index f183c6d..8765ad4 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -1219,6 +1219,7 @@ func (m *Model) renderMessageGroup(group []data.Message, remaining *int, height } if _, ok := state.State.BlockedUsers[group[i].SenderID]; ok { + extra = "" messageStyle = pingedMessageStyle. BorderForeground(colors.Gray). Background(colors.DarkGray)