chore: Use up-to-date Ruma #2490
No reviewers
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity!2490
Loading…
Reference in a new issue
No description provided.
Delete branch "Henry-Hiles/continuwuity:quad/fix/sticky-events-msc4480"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some changes to sticky events were needed for this also. Using up-to-date ruma is needed for a proper delayed event impl.
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
@ -51,1 +62,3 @@self.known_rooms = known_rooms;if let Some(pending) = self.pending.remove(&pos) {self.known_rooms = pending.known_rooms;self.sticky_delivered = pending.sticky_delivered;With limit: 1, backlog pages can reuse the same pos; if a response is lost, retrying that position acknowledges the lost page and skips its events.
Reserve a fresh position with globals.next_count()? before collecting each response instead of services.globals.current_count()?.max(1); in sync/v5
973efa130645317fc6e445317fc6e496fd3637b4