فهرست منبع

Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
Patrick Barron 4 سال پیش
والد
کامیت
5d1139ec62
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Jellyfin.Server.Implementations/Devices/DeviceManager.cs

+ 1 - 0
Jellyfin.Server.Implementations/Devices/DeviceManager.cs

@@ -168,6 +168,7 @@ namespace Jellyfin.Server.Implementations.Devices
         {
         {
             await using var dbContext = _dbProvider.CreateContext();
             await using var dbContext = _dbProvider.CreateContext();
             var sessions = dbContext.Devices
             var sessions = dbContext.Devices
+                .Include(d => d.User)
                 .AsQueryable()
                 .AsQueryable()
                 .OrderBy(d => d.DeviceId)
                 .OrderBy(d => d.DeviceId)
                 .ThenByDescending(d => d.DateLastActivity)
                 .ThenByDescending(d => d.DateLastActivity)