remote control fix
This commit is contained in:
parent
0abe0685f5
commit
635de736a9
|
@ -383,12 +383,12 @@ namespace MediaBrowser.Api.Session
|
|||
|
||||
if (!user.Policy.EnableRemoteControlOfOtherUsers)
|
||||
{
|
||||
result = result.Where(i => i.ContainsUser(request.ControllableByUserId.Value));
|
||||
result = result.Where(i => !i.UserId.HasValue || i.ContainsUser(request.ControllableByUserId.Value));
|
||||
}
|
||||
|
||||
if (!user.Policy.EnableSharedDeviceControl)
|
||||
{
|
||||
result = result.Where(i => !i.UserId.HasValue);
|
||||
result = result.Where(i => i.UserId.HasValue);
|
||||
}
|
||||
|
||||
result = result.Where(i =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user