Skip to content

fix(realtime): tell state handlers when the socket reconnects - #660

Merged
Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/realtime-reconnect-state
Nov 4, 2026
Merged

Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/realtime-reconnect-state

Conversation

@fresh55

@fresh55 fresh55 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Closes #105.

The client never registered its socket state handler, so state handlers only heard the first Open. Both connect methods register it now. Its SetAuth calls never ran, so they're gone, and a rejoin already sends the current token.

@Tr00d
Tr00d merged commit b3dbbb2 into supabase:master Nov 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SocketStateEventHandler not being called after reconnection

2 participants