From 7e0278c571954564efca64a6ea114c0e80f11532 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 10 Apr 2019 17:08:39 +0300 Subject: Fix m.emote rendering --- ui/messages/base.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/messages/base.go') diff --git a/ui/messages/base.go b/ui/messages/base.go index 32e1865..c377ccb 100644 --- a/ui/messages/base.go +++ b/ui/messages/base.go @@ -170,6 +170,9 @@ func (msg *BaseMessage) TextColor() tcell.Color { // // However, other messages are the default color instead of a color stored in the struct. func (msg *BaseMessage) TimestampColor() tcell.Color { + if msg.MsgIsService { + return tcell.ColorGray + } return msg.getStateSpecificColor() } -- cgit v1.2.3