mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fix user mentions in Slack notifications (#1846)
Adding link_names parameter to ensure that incoming webhooks get properly parsed for user mentions. Without this user mentions remain as plain text.
This commit is contained in:
parent
a8bb352c34
commit
8ff2ab37c4
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ namespace Ombi.Api.Slack
|
|||
body.channel = message.channel;
|
||||
body.text = message.text;
|
||||
body.username = message.username;
|
||||
body.link_names = 1;
|
||||
|
||||
if (!string.IsNullOrEmpty(message.icon_url))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue