mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
more !wip stuff
This commit is contained in:
parent
e235475413
commit
59173b8bc4
17 changed files with 347 additions and 36 deletions
|
@ -120,8 +120,10 @@ namespace Ombi.Notifications.Agents
|
|||
var plaintext = await LoadPlainTextMessage(NotificationType.IssueResolved, model, settings);
|
||||
message.Other.Add("PlainTextBody", plaintext);
|
||||
|
||||
// Issues should be sent to admin
|
||||
message.To = settings.AdminEmail;
|
||||
// Issues resolved should be sent to the user
|
||||
message.To = model.RequestType == RequestType.Movie
|
||||
? MovieRequest.RequestedUser.Email
|
||||
: TvRequest.RequestedUser.Email;
|
||||
|
||||
await Send(message, settings);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue