aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-14 21:42:09 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-14 21:42:09 -0400
commit99c991f001d99d441c3b3188a3bf5affb2e4c14b (patch)
tree1448f66329d9feb7af89ac91544482c018756cbb /MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
parentcde1df51ec093b1d35fd5fa5e89c528ff079a887 (diff)
save appVersion with device record
Diffstat (limited to 'MediaBrowser.Server.Implementations/Devices/DeviceManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Devices/DeviceManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
index 84dd8a97c..b65b7d11b 100644
--- a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
+++ b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
@@ -44,7 +44,7 @@ namespace MediaBrowser.Server.Implementations.Devices
_logger = logger;
}
- public async Task<DeviceInfo> RegisterDevice(string reportedId, string name, string appName, string usedByUserId)
+ public async Task<DeviceInfo> RegisterDevice(string reportedId, string name, string appName, string appVersion, string usedByUserId)
{
var device = GetDevice(reportedId) ?? new DeviceInfo
{
@@ -53,6 +53,7 @@ namespace MediaBrowser.Server.Implementations.Devices
device.ReportedName = name;
device.AppName = appName;
+ device.AppVersion = appVersion;
if (!string.IsNullOrWhiteSpace(usedByUserId))
{