Show user login
not user name
(e.g. show username not display name) for
commits (github)
This commit is contained in:
parent
baeff58539
commit
0f9592063e
1 changed files with 1 additions and 2 deletions
|
@ -337,8 +337,7 @@ class Module(ModuleManager.BaseModule):
|
|||
for commit in data["commits"]:
|
||||
id = self._short_hash(commit["id"])
|
||||
message = commit["message"].split("\n")[0].strip()
|
||||
author = commit["author"]["name"] or commit["author"]["login"]
|
||||
author = utils.irc.bold(author)
|
||||
author = utils.irc.bold(commit["author"]["login"])
|
||||
url = self._short_url(COMMIT_URL % (full_name, id))
|
||||
|
||||
added = self._added(len(commit["added"]))
|
||||
|
|
Loading…
Reference in a new issue