aboutsummaryrefslogtreecommitdiff
path: root/Emby.Notifications
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-12-20 13:31:07 +0100
committercvium <clausvium@gmail.com>2021-12-20 13:31:07 +0100
commitb880dc8a4a2d1820c6063f441edce42ab399d79e (patch)
tree498f8767f56ce7e5c43b083dd39955d51828a51d /Emby.Notifications
parentcb41dda5b3473714950a6540c4dec18e0c31c6ed (diff)
Use our own Contains extension
Diffstat (limited to 'Emby.Notifications')
-rw-r--r--Emby.Notifications/NotificationEntryPoint.cs3
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;
}