Skip to content
Snippets Groups Projects
Commit 1fca26c9 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

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

Change the notification sender username to GitLab in Slack Notifier
parents c818712d d21ad741
No related branches found
No related tags found
No related merge requests found
Loading
@@ -52,6 +52,7 @@ class SlackService < Service
Loading
@@ -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
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment