summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-12 13:20:34 +0200
committerKyren223 <Kyren223@proton.me>2025-02-12 13:20:34 +0200
commitab4b010e95360405d344e2859df423dc9d3b02fe (patch)
treed61c49ba80ddddf32bea5ac54482bd23cf7b376f
parent8d28f17a448a26256cf3eb42c0a098c2ee4fc36d (diff)
Pings are no longer visible in messages of blocked users
-rw-r--r--internal/client/ui/core/chat/chat.go1
1 files changed, 1 insertions, 0 deletions
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)