Skip to content

0.3.3

Choose a tag to compare

@github-actions github-actions released this 18 Mar 12:07
· 19 commits to master since this release
Fix presence and voice state race condition on WebSocket connect

The $effect safety net in +layout.svelte could trigger websocket.connect()
during auth.init() (when session is set but fetchDenUser() is still awaiting),
causing presence_initial and voice_state_initial messages to arrive before
any listeners were registered, silently dropping them.

Fix by registering all global WebSocket listeners (presence + voice state)
at the top of onMount before auth.init(), and guarding the $effect with
a ready check to prevent premature connections.