浏览代码

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();
             var sessions = dbContext.Devices
+                .Include(d => d.User)
                 .AsQueryable()
                 .OrderBy(d => d.DeviceId)
                 .ThenByDescending(d => d.DateLastActivity)