Use the new !avatar syntax in our git integration.
(imported from commit e00bc63f6fb1944ed206b3ede5431ac2b1ae1ac2)
This commit is contained in:
parent
6fbf905289
commit
3da6c41345
3 changed files with 5 additions and 5 deletions
|
@ -34,9 +34,9 @@ def commit_notice_destination(repo, branch, commit):
|
|||
# common customization is to include a link to the commit in your
|
||||
# graphical repository viewer, e.g.
|
||||
#
|
||||
# return '!gravatar(%s) [%s](https://example.com/commits/%s)\n' % (author, subject, commit_id)
|
||||
# return '!avatar(%s) [%s](https://example.com/commits/%s)\n' % (author, subject, commit_id)
|
||||
def format_commit_message(author, subject, commit_id):
|
||||
return '!gravatar(%s) [%s](https://git.zulip.net/eng/zulip/commit/%s)\n' % (author, subject, commit_id)
|
||||
return '!avatar(%s) [%s](https://git.zulip.net/eng/zulip/commit/%s)\n' % (author, subject, commit_id)
|
||||
|
||||
ZULIP_API_PATH = "/home/zulip/zulip/api"
|
||||
ZULIP_SITE = "https://staging.zulip.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue