mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Added icon_url functionality to mattermost notification
This commit is contained in:
parent
b287c8655f
commit
2f1060b665
4 changed files with 12 additions and 2 deletions
|
@ -125,7 +125,7 @@ namespace Ombi.Services.Notification
|
|||
{
|
||||
try
|
||||
{
|
||||
var notification = new MattermostNotificationBody { username = config.Username, channel = config.Channel ?? string.Empty, text = message };
|
||||
var notification = new MattermostNotificationBody { username = config.Username, channel = config.Channel ?? string.Empty, icon_url = config.IconUrl ?? string.Empty, text = message };
|
||||
|
||||
var result = await Api.PushAsync(config.WebhookUrl, notification);
|
||||
if (!result.Equals("ok"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue