mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 03:50:08 -07:00
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:
parent
2df80913c4
commit
2fbde15c40
4 changed files with 34 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue