Commit 1fca26c94c0afb958ecbd87c64927be3fc3c9b30

Authored by Marin Jankovski
2 parents c818712d d21ad741

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

Change the notification sender username to GitLab in Slack Notifier
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/project_services/slack_service.rb
... ... @@ -52,6 +52,7 @@ class SlackService < Service
52 52  
53 53 notifier = Slack::Notifier.new(subdomain, token)
54 54 notifier.channel = room
  55 + notifier.username = 'GitLab'
55 56 notifier.ping(message.compose)
56 57 end
57 58  
... ...