Skip to content

Commit

Permalink
Update msteams.py
Browse files Browse the repository at this point in the history
Add "summary" line to replace 'Sent a Card' In message preview with title of the alert.
  • Loading branch information
dfitton authored Nov 21, 2024
1 parent ae81cd6 commit e354709
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmk/notification_plugins/msteams.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def _msteams_msg(

return {
"type": "message",
"summary": substitute_context(title, context),
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
Expand Down

0 comments on commit e354709

Please sign in to comment.