forked from mystiq/hydrogen-web
ensure the sync is limited when rejoining without overlap
otherwise gap would be lost. The server should do this already, but we're just ensuring it is, to be more robust.
This commit is contained in:
parent
08ba4577f6
commit
7defd4a02b
1 changed files with 4 additions and 0 deletions
|
@ -207,6 +207,10 @@ export class SyncWriter {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!timeline.limited) {
|
||||
log.set("force_limited_without_overlap", true);
|
||||
return Object.assign({}, timeline, {limited: true});
|
||||
}
|
||||
return timeline;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue