diff options
author | Bjoern Petri | 2019-09-18 10:51:13 +0200 |
---|---|---|
committer | Lauris BH | 2019-09-18 11:51:13 +0300 |
commit | 4b9786ba6214287154b202121bf8548a25809df3 (patch) | |
tree | 8dd5084b9da99030ec27e5a33e0fbacc3dc9ac24 | |
parent | aaf975bff1f9779f0398f791d6d6f475072b26f4 (diff) |
MS Teams webhook misses commit messages (#8225)
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>
-rw-r--r-- | models/webhook_msteams.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/webhook_msteams.go b/models/webhook_msteams.go index f42defbd1..bdbcdbc9d 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:", |