forked from gitea/gitea
1
0
Fork 0

chore: change issue mail title. (#7064)

* chore: change issue mail title.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* change to fullname method

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2019-05-28 17:41:48 +08:00 committed by zeripath
parent bd9ed96da5
commit 66863ab770
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import (
)
func (issue *Issue) mailSubject() string {
return fmt.Sprintf("[%s] %s (#%d)", issue.Repo.Name, issue.Title, issue.Index)
return fmt.Sprintf("[%s] %s (#%d)", issue.Repo.FullName(), issue.Title, issue.Index)
}
// mailIssueCommentToParticipants can be used for both new issue creation and comment.