Skip to content

Commit 8c4d8d7

Browse files
bpetritypeless
authored andcommitted
MS Teams webhook misses commit messages (go-gitea#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 <[email protected]>
1 parent ea207e8 commit 8c4d8d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/webhook_msteams.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ func getMSTeamsPushPayload(p *api.PushPayload) (*MSTeamsPayload, error) {
236236
ActivityTitle: p.Sender.FullName,
237237
ActivitySubtitle: p.Sender.UserName,
238238
ActivityImage: p.Sender.AvatarURL,
239+
Text: text,
239240
Facts: []MSTeamsFact{
240241
{
241242
Name: "Repository:",

0 commit comments

Comments
 (0)