Defer world activation until welcome preflight confirmation
This commit is contained in:
@@ -2091,6 +2091,7 @@ async function onSignalingMessage(message: IncomingMessage): Promise<void> {
|
||||
}
|
||||
await onAppMessage(message);
|
||||
if (message.type === 'welcome') {
|
||||
signaling.send({ type: 'welcome_ready' });
|
||||
await setupMediaAfterAuth();
|
||||
if (playSelfLoginSound) {
|
||||
void audio.playSample(SYSTEM_SOUND_URLS.logon, 1);
|
||||
|
||||
Reference in New Issue
Block a user