Skip to content

Commit

Permalink
Merge pull request #137 from rubiojr/slack-fixes
Browse files Browse the repository at this point in the history
slack bee: use links for user mentions
  • Loading branch information
muesli committed Apr 11, 2017
2 parents 21a7f03 + 1d49544 commit 35d4d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bees/slackbee/slackbee.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func (mod *SlackBee) Action(action bees.Action) []bees.Placeholder {
}

msgParams := slack.NewPostMessageParameters()
msgParams.LinkNames = 1
for _, to := range tos {
_, _, err := mod.client.PostMessage(to, text, msgParams)
if err != nil {
Expand Down

0 comments on commit 35d4d8e

Please sign in to comment.