aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/messages/parser/parser.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/messages/parser/parser.go b/ui/messages/parser/parser.go
index 090732d..158e27b 100644
--- a/ui/messages/parser/parser.go
+++ b/ui/messages/parser/parser.go
@@ -125,7 +125,6 @@ func getMembershipEventContent(room *rooms.Room, evt *gomatrix.Event) (sender st
sender = "---"
text = tstring.NewColorTString(fmt.Sprintf("%s changed their display name to %s.", prevDisplayname, displayname), tcell.ColorGreen)
text.Colorize(0, len(prevDisplayname), widget.GetHashColor(*evt.StateKey))
- text.Colorize(len(prevDisplayname)+len(" changed their display name to "), len(displayname), widget.GetHashColor(*evt.StateKey))
}
return
}