mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -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
|
@ -205,6 +205,17 @@ namespace Ombi.Store.Context
|
|||
Enabled = true,
|
||||
};
|
||||
break;
|
||||
|
||||
case NotificationType.IssueComment:
|
||||
notificationToAdd = new NotificationTemplates
|
||||
{
|
||||
NotificationType = notificationType,
|
||||
Message = "Hello, There is a new comment on your issue {IssueSubject}, The comment is: {NewIssueComment}",
|
||||
Subject = "{ApplicationName}: New comment on issue {IssueSubject}!",
|
||||
Agent = agent,
|
||||
Enabled = true,
|
||||
};
|
||||
break;
|
||||
case NotificationType.AdminNote:
|
||||
continue;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue