aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-09 14:37:41 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-09 14:37:41 -0400
commit1e90c8d40c243fbcbbbd578930a7a28536bd9af5 (patch)
tree349206e27cf67cbca3958013bdd87a94b715b564 /MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
parent6b5af09df722133867db53272d386491af8c7395 (diff)
add version to web socket id text
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
index d712bbc60..e932b4acb 100644
--- a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
+++ b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
@@ -62,8 +62,12 @@ namespace MediaBrowser.Server.Implementations.Session
var client = vals[0];
var deviceId = vals[1];
+ var version = vals[2];
- var session = _sessionManager.Sessions.FirstOrDefault(i => string.Equals(i.DeviceId, deviceId) && string.Equals(i.Client, client));
+ var session = _sessionManager.Sessions
+ .FirstOrDefault(i => string.Equals(i.DeviceId, deviceId) &&
+ string.Equals(i.Client, client) &&
+ string.Equals(i.ApplicationVersion, version));
if (session != null)
{