status code 3 (closed) for un-opened connection

This commit is contained in:
Martti Malmi
2022-12-21 11:15:36 +02:00
committed by GitHub
parent adc1854ac6
commit a78e2036aa

View File

@@ -305,7 +305,7 @@ export function relayInit(url: string): Relay {
}) })
}, },
get status() { get status() {
return ws?.readyState ?? 0 return ws?.readyState ?? 3
} }
} }
} }