Explorar el Código

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

Co-authored-by: Cody Robibero <cody@robibe.ro>
Patrick Barron hace 4 años
padre
commit
5d1139ec62
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)