From 99f3ee3bf3ff969097a0b9a2627533af476a0461 Mon Sep 17 00:00:00 2001
From: Bjoern Petri <bpetri@users.noreply.github.com>
Date: Tue, 17 Sep 2019 21:56:29 +0200
Subject: [PATCH] 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>
---
 models/webhook_msteams.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/models/webhook_msteams.go b/models/webhook_msteams.go
index f42defbd1a..bdbcdbc9d3 100644
--- a/models/webhook_msteams.go
+++ b/models/webhook_msteams.go
@@ -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:",