diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-03 21:35:41 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-03 21:35:41 -0500 |
| commit | 135168b0e0640211aee5cda9285cffb184385e83 (patch) | |
| tree | ccbdd9a8a5299aa557b888919b1884e5705ed05e /MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs | |
| parent | 6da42312441dcdad2fbbd831a219398371340b43 (diff) | |
support adding additional users to sessions
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs index 303109a65..bbcc14524 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs @@ -190,7 +190,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints { var id = user.Id; var userSessions = _sessionManager.Sessions - .Where(u => u.User != null && u.User.Id == id && u.SessionController != null && u.IsActive) + .Where(u => u.UserId.HasValue && u.UserId.Value == id && u.SessionController != null && u.IsActive) .ToList(); if (userSessions.Count > 0) |
