add comment

This commit is contained in:
Kukks 2020-10-27 08:19:41 +01:00
parent 66af258876
commit 2083954aa5

View File

@ -95,7 +95,8 @@ namespace BTCPayServer.Services.Notifications
query = query.Where(store => store.DisabledNotifications != "all");
foreach (string term in terms)
{
// ReSharper disable once CA1307
// Cannot specify StringComparison as EF core does not support it and would attempt client-side evaluation
// ReSharper disable once CA1307
query = query.Where(user => user.DisabledNotifications == null || !user.DisabledNotifications.Contains(term ));
}