WIP: feat: Ask remote servers for individual unknown events #899
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
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/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#899
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/feat/pins-backfill"
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?
This change allows us to use
/_matrix/federation/v1/get_event/{eventId}
to fetch individual events that we may not have. This is similar to backfill, except it only retrieves an event by its ID, rather than fetching history.This PR also makes use of this by making
/_matrix/client/v3/rooms/{roomId}/event/{eventId}
endpoint try to fetch the event locally, falling back to a backfill request if it fails. This means users can fetch pins from before they joined, in the event their server doesn't already have them locally.This looks to cause really weird issues with backfill
feat: Ask remote servers for individual unknown eventsto WIP: feat: Ask remote servers for individual unknown eventsThis should probably skip adding the event to the timeline, and only do that on actual backfill
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.