#2045 have fallback but empty value

pull/197/head
Unknwon 9 years ago
parent 05ba8622f0
commit 76d4b9288b
  1. 3
      models/webhook_slack.go

@ -115,9 +115,6 @@ func getSlackPushPayload(p *api.PushPayload, slack *SlackMeta) (*SlackPayload, e
slackAttachments := []SlackAttachment{{
Color: slack.Color,
Text: attachmentText,
}, {
Fallback: fmt.Sprintf("%s pushed %s to %s/%s: %s",
p.Pusher, commitDesc, p.Repo.Name, branchName, p.CompareUrl),
}}
return &SlackPayload{

Loading…
Cancel
Save