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:
Bruno Windels 2021-05-05 17:10:31 +02:00
parent 08ba4577f6
commit 7defd4a02b

View file

@ -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;
}