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/Session/SessionWebSocketListener.cs | |
| parent | 6da42312441dcdad2fbbd831a219398371340b43 (diff) | |
support adding additional users to sessions
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs index 08481f09f..d693f90e2 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs @@ -191,7 +191,7 @@ namespace MediaBrowser.Server.Implementations.Session var session = GetSessionFromMessage(message); - if (session != null && session.User != null) + if (session != null && session.UserId.HasValue) { var vals = message.Data.Split('|'); @@ -229,7 +229,7 @@ namespace MediaBrowser.Server.Implementations.Session { var session = GetSessionFromMessage(message); - if (session != null && session.User != null) + if (session != null && session.UserId.HasValue) { var vals = message.Data.Split('|'); @@ -273,7 +273,7 @@ namespace MediaBrowser.Server.Implementations.Session var session = GetSessionFromMessage(message); - if (session != null && session.User != null) + if (session != null && session.UserId.HasValue) { var vals = message.Data.Split('|'); |
