summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-04 19:01:34 -0500
committerUnknwon <u@gogs.io>2015-12-04 19:01:34 -0500
commit76d4b9288b60ed6c037257415a570225764ff0a0 (patch)
tree40c4d026f32f49ca834ac4637a2e31472715e410 /models
parent05ba8622f06fca86634f89cea5fccdce0b0ffa94 (diff)
downloadgitea-76d4b9288b60ed6c037257415a570225764ff0a0.tar.gz
gitea-76d4b9288b60ed6c037257415a570225764ff0a0.zip
#2045 have fallback but empty value
Diffstat (limited to 'models')
-rw-r--r--models/webhook_slack.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/models/webhook_slack.go b/models/webhook_slack.go
index 12f21af43c..8fcf649551 100644
--- a/models/webhook_slack.go
+++ b/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{