Fixed the issue comment issue #1914 also added another variable for issues {IssueUser} which is the user that reported the issue

This commit is contained in:
Jamie 2018-02-09 13:50:03 +00:00
parent 2df80913c4
commit 2fbde15c40
4 changed files with 34 additions and 16 deletions

View file

@ -150,6 +150,10 @@ namespace Ombi.Notifications.Agents
var isAdmin = bool.Parse(isAdminString);
message.To = isAdmin ? model.Recipient : settings.AdminEmail;
}
else
{
message.To = model.Recipient;
}
await Send(message, settings);