Merge pull request #50 from mmalmi/patch-1

This commit is contained in:
fiatjaf
2022-12-21 08:50:29 -03:00
committed by GitHub

View File

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