diff options
| author | 2019-02-26 21:55:34 +0000 | |
|---|---|---|
| committer | 2019-02-26 21:55:34 +0000 | |
| commit | 120eb03173d3db6a7f6746f5d64657bb56b52153 (patch) | |
| tree | 74da5e39c223690b8465c6004a91d60664267cd5 /modules | |
| parent | Don't try to parse non-html/xml stuff with BeautifulSoup (diff) | |
| signature | ||
Show sender of an issue_comment, not the original commenter (for edits)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 8f9eaf69..9159cd16 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -521,7 +521,7 @@ class Module(ModuleManager.BaseModule): action = data["action"] issue_title = data["issue"]["title"] type = "pr" if "pull_request" in data["issue"] else "issue" - commenter = utils.irc.bold(data["comment"]["user"]["login"]) + commenter = utils.irc.bold(data["sender"]["login"]) url = self._short_url(data["comment"]["html_url"]) return ["[%s #%d] %s %s on: %s - %s" % (type, number, commenter, COMMENT_ACTIONS[action], issue_title, |
