mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
Handle ignore-wait request in waiting state in SyncPlay
This commit is contained in:
parent
83333e1fe8
commit
fa69f6fd51
6 changed files with 68 additions and 68 deletions
|
|
@ -372,12 +372,10 @@ namespace Emby.Server.Implementations.SyncPlay
|
|||
/// <inheritdoc />
|
||||
public void SetIgnoreGroupWait(SessionInfo session, bool ignoreGroupWait)
|
||||
{
|
||||
if (!Participants.ContainsKey(session.Id))
|
||||
if (Participants.TryGetValue(session.Id, out GroupMember value))
|
||||
{
|
||||
return;
|
||||
value.IgnoreGroupWait = ignoreGroupWait;
|
||||
}
|
||||
|
||||
Participants[session.Id].IgnoreGroupWait = ignoreGroupWait;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue