aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <18354464+barronpm@users.noreply.github.com>2021-06-26 15:17:57 -0400
committerGitHub <noreply@github.com>2021-06-26 15:17:57 -0400
commit5d1139ec62ff0c177e45574a6c3ce7ecf51aff57 (patch)
treee7df1b8d3fc3ec79d1558c6f7cc2f333e732aff3
parentbefedaf6fc70456557de71b9d1d223f669e5c22b (diff)
Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
-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 484a53428..86706cac9 100644
--- a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs
+++ b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs
@@ -168,6 +168,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)