mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor(relay): remove invalid filter condition
This commit is contained in:
parent
a868512188
commit
2d017e8102
1 changed files with 1 additions and 2 deletions
|
|
@ -78,8 +78,7 @@ function connectStream(socket: WebSocket) {
|
|||
}
|
||||
} catch (e) {
|
||||
if (
|
||||
e instanceof RelayError ||
|
||||
e.message.slice(-('filter too far into the future'.length)) === 'filter too far into the future'
|
||||
e instanceof RelayError
|
||||
) {
|
||||
send(['CLOSED', subId, e.message]);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue