|
|
@ -982,7 +982,7 @@ namespace Ombi.UI.Modules
|
|
|
|
return
|
|
|
|
return
|
|
|
|
Response.AsJson(new JsonResponseModel
|
|
|
|
Response.AsJson(new JsonResponseModel
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Message = "Could not add movie, please contac your administrator",
|
|
|
|
Message = "Could not add movie, please contact your administrator",
|
|
|
|
Result = false
|
|
|
|
Result = false
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1420,9 +1420,7 @@ namespace Ombi.UI.Modules
|
|
|
|
|
|
|
|
|
|
|
|
private bool ShouldSendNotification(RequestType type, PlexRequestSettings prSettings)
|
|
|
|
private bool ShouldSendNotification(RequestType type, PlexRequestSettings prSettings)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var sendNotification = ShouldAutoApprove(type)
|
|
|
|
var sendNotification = !ShouldAutoApprove(type) || !prSettings.IgnoreNotifyForAutoApprovedRequests;
|
|
|
|
? !prSettings.IgnoreNotifyForAutoApprovedRequests
|
|
|
|
|
|
|
|
: true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (IsAdmin)
|
|
|
|
if (IsAdmin)
|
|
|
|
{
|
|
|
|
{
|
|
|
|