From 426e9ad14f299a674b672d256ca8644281ec267f Mon Sep 17 00:00:00 2001 From: r Date: Fri, 8 Sep 2023 14:46:40 +0000 Subject: [PATCH] Fix display name and title on mute page --- service/service.go | 2 +- templates/mute.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/service.go b/service/service.go index 0d2e196..bc9e5b8 100644 --- a/service/service.go +++ b/service/service.go @@ -683,7 +683,7 @@ func (s *service) MutePage(c *client, id string) (err error) { if err != nil { return } - cdata := s.cdata(c, "Mute"+user.DisplayName+" @"+user.Acct, 0, 0, "") + cdata := s.cdata(c, "Mute "+user.DisplayName+" @"+user.Acct, 0, 0, "") data := &renderer.UserData{ User: user, CommonData: cdata, diff --git a/templates/mute.tmpl b/templates/mute.tmpl index 47d0533..ee66b91 100644 --- a/templates/mute.tmpl +++ b/templates/mute.tmpl @@ -1,6 +1,6 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
Mute {{.User.Acct}}
+
Mute {{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}} @{{.User.Acct}}