Merge pull request #316 from aaronmdjones/amdj/github-pr-attribution

GitHub PRs: Correctly attribute PR authors
This commit is contained in:
jess 2021-05-30 17:02:13 +01:00 committed by GitHub
commit 43430c510d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,7 +275,7 @@ class GitHub(object):
colored_branch = utils.irc.color(branch, colors.COLOR_BRANCH)
sender = utils.irc.bold(data["sender"]["login"])
author = utils.irc.bold(data["sender"]["login"])
author = utils.irc.bold(data["pull_request"]["user"]["login"])
number = utils.irc.color("#%s" % data["pull_request"]["number"],
colors.COLOR_ID)
identifier = "%s by %s" % (number, author)