mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
support adding additional users to sessions
This commit is contained in:
@@ -94,7 +94,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
|
||||
{
|
||||
var userId = pair.Key;
|
||||
var userSessions = _sessionManager.Sessions
|
||||
.Where(u => u.User != null && u.User.Id == userId && u.SessionController != null && u.IsActive)
|
||||
.Where(u => u.UserId.HasValue && u.UserId.Value == userId && u.SessionController != null && u.IsActive)
|
||||
.ToList();
|
||||
|
||||
if (userSessions.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user