fix(!714): Off-by-one in v5 sync #1100

Merged
Jade merged 1 commit from digitalrain/continuwuity:fix-sync-v5-off-by-one into main 2025-10-13 10:28:19 +00:00
Contributor

Simplified sliding sync specifies ranges to be inclusive while rust ranges are
exclusive.

Simplified sliding sync specifies ranges to be inclusive while rust ranges are exclusive.
fix(!714): Off-by-one in v5 sync
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m28s
Release Docker Image / Build linux-amd64 (release) (pull_request) Successful in 6m56s
Release Docker Image / Build linux-arm64 (release) (pull_request) Successful in 7m3s
Release Docker Image / Create Multi-arch Release Manifest (pull_request) Successful in 5s
Release Docker Image / Build linux-amd64 (max-perf) (pull_request) Successful in 1m31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 9m40s
Release Docker Image / Build linux-arm64 (max-perf) (pull_request) Successful in 11m50s
Release Docker Image / Create Max-Perf Manifest (pull_request) Successful in 5s
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
fea85a1d61
Simplified sliding sync specifies ranges to be inclusive while rust ranges are
exclusive.
Owner

I'm not seeing any issues, just wanted to double check the behaviour this is supposed to fix? In particular user facing

I'm not seeing any issues, just wanted to double check the behaviour this is supposed to fix? In particular user facing
Author
Contributor

An element X user does not see a new room, either from an invitation or from joining a room in another client, unless its the first sync they do since the server started, or until they receive another invitation to/join another room in a different client, in which case they only see the previous new room and not the newest new room.

An element X user does not see a new room, either from an invitation or from joining a room in another client, unless its the first sync they do since the server started, or until they receive another invitation to/join another room in a different client, in which case they only see the previous new room and not the newest new room.
nex approved these changes 2025-10-12 19:46:13 +00:00
Jade merged commit 77ebe0d02f into main 2025-10-13 10:28:19 +00:00
Sign in to join this conversation.
No reviewers
nex
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!1100
No description provided.