From 8ff2ab37c47d5e12260bfe582acecbb437c2b673 Mon Sep 17 00:00:00 2001 From: Aljosa Asanovic Date: Wed, 3 Jan 2018 03:02:04 -0500 Subject: [PATCH] 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. --- src/Ombi.Api.Slack/SlackApi.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ombi.Api.Slack/SlackApi.cs b/src/Ombi.Api.Slack/SlackApi.cs index 376a3f380..c6b8d92ff 100644 --- a/src/Ombi.Api.Slack/SlackApi.cs +++ b/src/Ombi.Api.Slack/SlackApi.cs @@ -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)) {