mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
Handle ignore-wait request in waiting state in SyncPlay
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user