Fixed the issue where user preferences was not being inported into some notifications

This commit is contained in:
TidusJar 2018-10-09 20:01:46 +01:00
parent afc55e6f1f
commit 65233cb3b7
2 changed files with 21 additions and 2 deletions

View file

@ -19,7 +19,7 @@ namespace Ombi.Notifications
LoadIssues(opts);
if (pref != null)
{
UserPreference = pref.Enabled ? pref.Value : string.Empty;
UserPreference = pref.Value;
}
string title;
@ -268,6 +268,7 @@ namespace Ombi.Notifications
{nameof(IssueUser),IssueUser},
{nameof(UserName),UserName},
{nameof(Alias),Alias},
{nameof(UserPreference),UserPreference},
};
}
}