mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Merge pull request #1243 from anonaut/master
Added Mattermost Notifications
This commit is contained in:
commit
f7c25b0e15
21 changed files with 579 additions and 2 deletions
13
Ombi.Core/SettingModels/MattermostNotificationSettings.cs
Normal file
13
Ombi.Core/SettingModels/MattermostNotificationSettings.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Ombi.Core.SettingModels
|
||||
{
|
||||
public sealed class MattermostNotificationSettings : NotificationSettings
|
||||
{
|
||||
public string WebhookUrl { get; set; }
|
||||
public string Channel { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string IconUrl { get; set; }
|
||||
}
|
||||
}
|
|
@ -51,11 +51,13 @@ namespace Ombi.Core.SettingModels
|
|||
}
|
||||
};
|
||||
SlackNotification = new List<NotificationMessage>();
|
||||
MattermostNotification = new List<NotificationMessage>();
|
||||
PushoverNotification = new List<NotificationMessage>();
|
||||
PushbulletNotification = new List<NotificationMessage>();
|
||||
}
|
||||
public List<NotificationMessage> EmailNotification { get; set; }
|
||||
public List<NotificationMessage> SlackNotification { get; set; }
|
||||
public List<NotificationMessage> MattermostNotification { get; set; }
|
||||
public List<NotificationMessage> PushbulletNotification { get; set; }
|
||||
public List<NotificationMessage> PushoverNotification { get; set; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue