diff --git a/services/talker.rb b/services/talker.rb index af46ff3e5..95c5d5709 100644 --- a/services/talker.rb +++ b/services/talker.rb @@ -21,4 +21,11 @@ def receive_push end end end + + #Include the commit url in the message + def format_commit_message(commit) + short = commit['message'].split("\n", 2).first + "[#{repo_name}/#{branch_name}] #{short} - #{commit['author']['name']} #{commit['url']}" + end + end