mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-12 19:56:48 +00:00
fix(sync): Give each sliding sync response its own pos
This commit is contained in:
1 parent
7b927196a2
commit
aef031c9d7
1 file changed
+1
-2
@@ -211,8 +211,7 @@ async fn collect_sync_response(
|
||||
sticky_delivered: &StickyDelivered,
|
||||
) -> Result<SyncCollection> {
|
||||
// Bounds every read below and becomes the `pos` returned to the client.
|
||||
// Zero would be echoed back as a request for an initial sync.
|
||||
let next_batch = services.globals.current_count()?.max(1);
|
||||
let next_batch = services.globals.next_count()?;
|
||||
|
||||
let all_joined_rooms = services
|
||||
.rooms
|
||||
|
||||
Reference in new issue
Block a user