Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Fix missing Emoji for color-enabled messages
Browse files Browse the repository at this point in the history
For #13
  • Loading branch information
alassek committed Jun 11, 2015
1 parent 61c033b commit 9a99b20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/capistrano/slack_notify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ def regular_payload(announcement)

def attachment_payload(color, announcement)
{
'channel' => slack_channel,
'username' => slack_username,
'channel' => slack_channel,
'username' => slack_username,
'icon_emoji' => slack_emoji,
'attachments' => [{
'fallback' => announcement,
'text' => announcement,
Expand Down

0 comments on commit 9a99b20

Please sign in to comment.