mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
parent
2d7ded325f
commit
698356d55e
7 changed files with 158 additions and 58 deletions
|
@ -36,10 +36,21 @@ namespace Ombi.Core.SettingModels
|
|||
public bool SendRecentlyAddedEmail { get; set; }
|
||||
public bool SendToPlexUsers { get; set; }
|
||||
public string CustomUsers { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public IEnumerable<string> CustomUsersEmailAddresses => CustomUsers.SplitEmailsByDelimiter(';');
|
||||
public IEnumerable<string> CustomUsersEmailAddresses
|
||||
{
|
||||
get
|
||||
{
|
||||
var retVal = (IEnumerable<string>)new List<string>();
|
||||
if (!string.IsNullOrEmpty(CustomUsers))
|
||||
{
|
||||
retVal = CustomUsers.SplitEmailsByDelimiter(';');
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue