aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_mail.go
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2019-05-28 17:41:48 +0800
committerzeripath <art27@cantab.net>2019-05-28 10:41:48 +0100
commit66863ab7704c96efbbc19059d037c63e37fcd2fa (patch)
treef77f7c2251c8ae857a575dbd8cb27742c8d789c2 /models/issue_mail.go
parentbd9ed96da50de283485a4e274b414b7dd1d22ba6 (diff)
downloadgitea-66863ab7704c96efbbc19059d037c63e37fcd2fa.tar.gz
gitea-66863ab7704c96efbbc19059d037c63e37fcd2fa.zip
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>
Diffstat (limited to 'models/issue_mail.go')
-rw-r--r--models/issue_mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_mail.go b/models/issue_mail.go
index 033c094c75..16f85ba378 100644
--- a/models/issue_mail.go
+++ b/models/issue_mail.go
@@ -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.