summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/chat/chat.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/chat/chat.go')
-rw-r--r--internal/client/ui/core/chat/chat.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go
index bc3df81..4cba8e8 100644
--- a/internal/client/ui/core/chat/chat.go
+++ b/internal/client/ui/core/chat/chat.go
@@ -1418,6 +1418,11 @@ func (m *Model) renderHeader(message data.Message, selected bool) []byte {
sender := senderStyle.Render(user.Name)
buf = append(buf, sender...)
+
+ if _, ok := state.State.BlockedUsers[user.ID]; ok {
+ buf = append(buf, ' ')
+ buf = append(buf, ui.BlockedSymbol()...)
+ }
}
// Render header time format