mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
make channel access opt-in rather than opt out
This commit is contained in:
@@ -108,7 +108,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
|
||||
{
|
||||
var userId = pair.Key;
|
||||
var userSessions = _sessionManager.Sessions
|
||||
.Where(u => u.UserId.HasValue && u.UserId.Value == userId && u.SessionController != null && u.IsActive)
|
||||
.Where(u => u.ContainsUser(userId) && u.SessionController != null && u.IsActive)
|
||||
.ToList();
|
||||
|
||||
if (userSessions.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user