diff options
| author | ignacio laborde <laborde.ignacio@gmail.com> | 2022-01-04 13:05:36 -0300 |
|---|---|---|
| committer | jgriff6 <74262798+jgriff6@users.noreply.github.com> | 2022-10-25 00:38:57 +0100 |
| commit | c6bf6e00de5906844396bee59e9e891b2903815e (patch) | |
| tree | 010d6bd046dea9f8e0cbd7268593e19b8271cd74 /Emby.Notifications/NotificationManager.cs | |
| parent | 790f67aac11e5c32bad19126d4e35b2afa259006 (diff) | |
Remove unnecessary ToList usage
Diffstat (limited to 'Emby.Notifications/NotificationManager.cs')
| -rw-r--r-- | Emby.Notifications/NotificationManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Notifications/NotificationManager.cs b/Emby.Notifications/NotificationManager.cs index 8b281e487..ac90cc8ec 100644 --- a/Emby.Notifications/NotificationManager.cs +++ b/Emby.Notifications/NotificationManager.cs @@ -88,8 +88,7 @@ namespace Emby.Notifications string description, CancellationToken cancellationToken) { - users = users.Where(i => IsEnabledForUser(service, i)) - .ToList(); + users = users.Where(i => IsEnabledForUser(service, i)); var tasks = users.Select(i => SendNotification(request, service, title, description, i, cancellationToken)); |
