aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/messages/base.go')
-rw-r--r--ui/messages/base.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/messages/base.go b/ui/messages/base.go
index deb153f..aed7903 100644
--- a/ui/messages/base.go
+++ b/ui/messages/base.go
@@ -141,9 +141,7 @@ func (msg *BaseMessage) TextColor() tcell.Color {
switch {
case stateColor != tcell.ColorDefault:
return stateColor
- case msg.MsgIsService:
- fallthrough
- case msg.MsgType == "m.notice":
+ case msg.MsgIsService, msg.MsgType == "m.notice":
return tcell.ColorGray
case msg.MsgIsHighlight:
return tcell.ColorYellow