aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/messages/base.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/messages/base.go b/ui/messages/base.go
index cf698db..d6ff4f6 100644
--- a/ui/messages/base.go
+++ b/ui/messages/base.go
@@ -116,6 +116,8 @@ func (msg *BaseMessage) SenderColor() tcell.Color {
switch {
case stateColor != tcell.ColorDefault:
return stateColor
+ case msg.MsgType == "m.room.member":
+ return widget.GetHashColor(msg.MsgSender)
case msg.MsgIsService:
return tcell.ColorGray
default: