diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-14 00:34:25 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-14 00:34:25 +0300 |
commit | e7bf5bd59fc0a43172b6ab5b338e1d60bd4b3bbb (patch) | |
tree | 67aacbe31ba2d95fd7a648254f5173d7f46b4dc1 /ui/messages/base.go | |
parent | 69c163cfe9d353060896403a3e844848d4fd54eb (diff) |
Add basic HTML rendering (ref #16)
Diffstat (limited to 'ui/messages/base.go')
-rw-r--r-- | ui/messages/base.go | 4 |
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 |