diff options
| author | Bond-009 <bond.009@outlook.com> | 2022-10-30 14:19:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-30 14:19:07 +0100 |
| commit | 4c61bf1bdb16f6cb9136f22105b9411d42298c44 (patch) | |
| tree | dd3cdea1d0fc3db215f2855199d3ee9a6abcd26a /Emby.Notifications/NotificationManager.cs | |
| parent | b67ddc55c22423da93d73dd0426c56c1588fbc60 (diff) | |
| parent | c2c286be6ed1ed33cb78aaebd9f14dc7f19fe0d1 (diff) | |
Merge pull request #8618 from jgriff6/remove-tolists
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)); |
