diff options
| author | cvium <clausvium@gmail.com> | 2021-12-20 13:31:07 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-12-20 13:31:07 +0100 |
| commit | b880dc8a4a2d1820c6063f441edce42ab399d79e (patch) | |
| tree | 498f8767f56ce7e5c43b083dd39955d51828a51d /Emby.Notifications | |
| parent | cb41dda5b3473714950a6540c4dec18e0c31c6ed (diff) | |
Use our own Contains extension
Diffstat (limited to 'Emby.Notifications')
| -rw-r--r-- | Emby.Notifications/NotificationEntryPoint.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Notifications/NotificationEntryPoint.cs b/Emby.Notifications/NotificationEntryPoint.cs index e8ae14ff2..a56df7031 100644 --- a/Emby.Notifications/NotificationEntryPoint.cs +++ b/Emby.Notifications/NotificationEntryPoint.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; using Jellyfin.Data.Events; +using Jellyfin.Extensions; using MediaBrowser.Common.Configuration; using MediaBrowser.Controller; using MediaBrowser.Controller.Entities; @@ -104,7 +105,7 @@ namespace Emby.Notifications var type = entry.Type; - if (string.IsNullOrEmpty(type) || !_coreNotificationTypes.Contains(type, StringComparer.OrdinalIgnoreCase)) + if (string.IsNullOrEmpty(type) || !_coreNotificationTypes.Contains(type, StringComparison.OrdinalIgnoreCase)) { return; } |
