diff options
Diffstat (limited to 'services/mailer/mail.go')
-rw-r--r-- | services/mailer/mail.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/mailer/mail.go b/services/mailer/mail.go index 3241ae728d..dd5af445bf 100644 --- a/services/mailer/mail.go +++ b/services/mailer/mail.go @@ -16,6 +16,7 @@ import ( "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/emoji" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/markup" "code.gitea.io/gitea/modules/markup/markdown" @@ -233,6 +234,9 @@ func composeIssueCommentMessages(ctx *mailCommentContext, tos []string, fromMent if subject == "" { subject = fallback } + + subject = emoji.ReplaceAliases(subject) + mailMeta["Subject"] = subject var mailBody bytes.Buffer |