diff options
author | Bjoern Petri <bpetri@users.noreply.github.com> | 2019-09-17 21:56:29 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-09-17 15:56:29 -0400 |
commit | 99f3ee3bf3ff969097a0b9a2627533af476a0461 (patch) | |
tree | 612a07979742217d0d3d963615868b694f137b69 /models | |
parent | 34497984e932e3e0c0aa01bdf34b4e83e780ebd9 (diff) | |
download | gitea-99f3ee3bf3ff969097a0b9a2627533af476a0461.tar.gz gitea-99f3ee3bf3ff969097a0b9a2627533af476a0461.zip |
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>
Diffstat (limited to 'models')
-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 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:", |