refactor(relay): remove invalid filter condition

This commit is contained in:
P. Reis 2024-07-02 18:39:22 -03:00
parent a868512188
commit 2d017e8102

View file

@ -78,8 +78,7 @@ function connectStream(socket: WebSocket) {
} }
} catch (e) { } catch (e) {
if ( if (
e instanceof RelayError || e instanceof RelayError
e.message.slice(-('filter too far into the future'.length)) === 'filter too far into the future'
) { ) {
send(['CLOSED', subId, e.message]); send(['CLOSED', subId, e.message]);
} else { } else {