Fix playing users not being updated on room join

This commit is contained in:
smoogipoo 2021-04-22 23:23:43 +09:00
parent 0ee73b8e53
commit f593d9e42c
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ await scheduleAsync(() =>
Room = joinedRoom;
apiRoom = room;
defaultPlaylistItemId = apiRoom.Playlist.FirstOrDefault()?.ID ?? 0;
foreach (var user in joinedRoom.Users)
updateUserPlayingState(user.UserID, user.State);
}, cancellationSource.Token).ConfigureAwait(false);
// Update room settings.