0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:04:32 +01:00

MS Teams webhook misses commit messages (#8209)

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>
This commit is contained in:
Bjoern Petri 2019-09-17 21:56:29 +02:00 committed by techknowlogick
parent 34497984e9
commit 99f3ee3bf3

View file

@ -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:",