Include auth state in initial state

This commit is contained in:
Max Goodhart
2025-06-14 20:44:57 +00:00
parent 53c96742c0
commit 44932d0226

View File

@@ -206,6 +206,7 @@ async function initApp({ baseURL, clientStaticPath }: AppOptions) {
if (msg.type === 'state') {
if (clientState === null) {
clientState = new StateWrapper(msg.state)
clientState.update({ auth: auth.getState() })
currentStreamwallConn = {
ws,
clientState,