mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
Include auth state in initial state
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user