aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Devices
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-06-27 16:46:09 -0400
committerPatrick Barron <barronpm@gmail.com>2021-06-27 16:46:09 -0400
commit06d682c29679d904bc1b21aa493bb9ed29bda265 (patch)
tree2669aa4c4481aa3c70147b52c245824e3ea4b873 /Jellyfin.Server.Implementations/Devices
parentaf2e7aec2ecff589c91b8064b1dff2ff5afcf172 (diff)
parent5d1139ec62ff0c177e45574a6c3ce7ecf51aff57 (diff)
Merge remote-tracking branch 'origin/authenticationdb-efcore' into authenticationdb-efcore
Diffstat (limited to 'Jellyfin.Server.Implementations/Devices')
-rw-r--r--Jellyfin.Server.Implementations/Devices/DeviceManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs
index b02ca4ef0..ef0d5db09 100644
--- a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs
+++ b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs
@@ -170,6 +170,7 @@ namespace Jellyfin.Server.Implementations.Devices
{
await using var dbContext = _dbProvider.CreateContext();
var sessions = dbContext.Devices
+ .Include(d => d.User)
.AsQueryable()
.OrderBy(d => d.DeviceId)
.ThenByDescending(d => d.DateLastActivity)