Changeset - a9d2e2958514
[Not reviewed]
stable
0 1 0
Mads Kiilerich - 11 years ago 2015-05-07 16:23:45
madski@unity3d.com
pullrequests: use correct References header when adding reviewers to (new?) PRs

Use the same message id when inviting to a PR as we do when commenting on a PR.
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/model/pull_request.py
Show inline comments
 
@@ -125,8 +125,9 @@ class PullRequestModel(BaseModel):
 

	
 
        #notification to reviewers
 
        pr_url = pr.url(canonical=True)
 
        threading = [h.canonical_url('pullrequest_show', repo_name=pr.other_repo.repo_name,
 
                                     pull_request_id=pr.pull_request_id)]
 
        threading = ['%s-pr-%s@%s' % (pr.other_repo.repo_name,
 
                                      pr.pull_request_id,
 
                                      h.canonical_hostname())]
 
        subject = safe_unicode(
 
            h.link_to(
 
              _('%(user)s wants you to review pull request #%(pr_id)s: %(pr_title)s') % \
0 comments (0 inline, 0 general)