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) {
|
} 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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue