Enable the mobile ntoifications inside Ombi

This commit is contained in:
Jamie Rees 2018-05-02 13:21:33 +01:00
parent 5e25e16649
commit f426551222
3 changed files with 11 additions and 3 deletions

View file

@ -39,7 +39,7 @@ namespace Ombi.Notifications.Agents
protected override bool ValidateConfiguration(MobileNotificationSettings settings)
{
return false;
return true;
}
protected override async Task NewRequest(NotificationOptions model, MobileNotificationSettings settings)
@ -211,7 +211,7 @@ namespace Ombi.Notifications.Agents
protected async Task Send(List<string> playerIds, NotificationMessage model, MobileNotificationSettings settings)
{
if (!playerIds.Any())
if (playerIds == null || !playerIds.Any())
{
return;
}