Commit 1fca26c9 authored by Marin Jankovski's avatar Marin Jankovski

Merge pull request #6626 from andreausu/add-slack-username

Change the notification sender username to GitLab in Slack Notifier
parents c818712d d21ad741
...@@ -52,6 +52,7 @@ class SlackService < Service ...@@ -52,6 +52,7 @@ class SlackService < Service
notifier = Slack::Notifier.new(subdomain, token) notifier = Slack::Notifier.new(subdomain, token)
notifier.channel = room notifier.channel = room
notifier.username = 'GitLab'
notifier.ping(message.compose) notifier.ping(message.compose)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment