Skip to content

Commit

Permalink
Remove author ID from message tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Aug 26, 2024
1 parent 3f6689a commit ee46dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/messages/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ func (m *cozyMessage) Update(message *gateway.MessageCreateEvent) {
m.updateAuthor(message)

tooltip := fmt.Sprintf(
"<b>%s</b> (%s)\n%s",
html.EscapeString(message.Author.Tag()), message.Author.ID,
"<b>%s</b>\n%s",
html.EscapeString(message.Author.Tag()),
html.EscapeString(locale.Time(message.Timestamp.Time(), true)),
)

Expand Down

0 comments on commit ee46dc7

Please sign in to comment.