mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
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
@ -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…
x
Reference in New Issue
Block a user