mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Fixed #1914
Also added new notification variables and a new notification when someone adds a comment on an issue.
This commit is contained in:
parent
b223306ee8
commit
480a107fa6
15 changed files with 322 additions and 42 deletions
|
@ -99,6 +99,9 @@ namespace Ombi.Notifications.Interfaces
|
|||
case NotificationType.IssueResolved:
|
||||
await IssueResolved(model, notificationSettings);
|
||||
break;
|
||||
case NotificationType.IssueComment:
|
||||
await IssueComment(model, notificationSettings);
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
|
@ -180,6 +183,7 @@ namespace Ombi.Notifications.Interfaces
|
|||
protected abstract bool ValidateConfiguration(T settings);
|
||||
protected abstract Task NewRequest(NotificationOptions model, T settings);
|
||||
protected abstract Task NewIssue(NotificationOptions model, T settings);
|
||||
protected abstract Task IssueComment(NotificationOptions model, T settings);
|
||||
protected abstract Task IssueResolved(NotificationOptions model, T settings);
|
||||
protected abstract Task AddedToRequestQueue(NotificationOptions model, T settings);
|
||||
protected abstract Task RequestDeclined(NotificationOptions model, T settings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue