Skip to content

Commit

Permalink
MS Teams webhook misses commit messages (go-gitea#8209)
Browse files Browse the repository at this point in the history
The current webhook just shows the amount of commits, but misses the actual commit description. While the code is actually there to include the description, it is just not included.

Signed-off-by: Bjoern Petri <bjoern.petri@sundevil.de>
  • Loading branch information
bpetri authored and typeless committed Sep 18, 2019
1 parent ea207e8 commit 8c4d8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/webhook_msteams.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ func getMSTeamsPushPayload(p *api.PushPayload) (*MSTeamsPayload, error) {
ActivityTitle: p.Sender.FullName,
ActivitySubtitle: p.Sender.UserName,
ActivityImage: p.Sender.AvatarURL,
Text: text,
Facts: []MSTeamsFact{
{
Name: "Repository:",
Expand Down

0 comments on commit 8c4d8d7

Please sign in to comment.