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:
Aljosa Asanovic 2018-01-03 03:02:04 -05:00 committed by Jamie
commit 8ff2ab37c4

View file

@ -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))
{