mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
Implement /get_missing_events (#1022)
* WIP get_missing_events work
* More WIP get_missing_events work
* First working /get_missing_events implementation
Flakey currently due to racing between /sync and /send
* Final tweaks
* Remove log lines
* Linting
* go mod tidy
* Clamp min depth to 0
* sort events by depth because sytest makes me sad
Specifically I think it's
4172585c25/lib/SyTest/Federation/Client.pm (L265)
to blame here.
This commit is contained in:
parent
32624697fd
commit
ce5dfbebf9
6 changed files with 675 additions and 198 deletions
|
@ -264,4 +264,11 @@ User can invite local user to room with version 5
|
|||
remote user can join room with version 5
|
||||
User can invite remote user to room with version 5
|
||||
Remote user can backfill in a room with version 5
|
||||
Inbound federation can receive v1 /send_join
|
||||
Inbound federation can get state for a room
|
||||
Inbound federation of state requires event_id as a mandatory paramater
|
||||
Inbound federation can get state_ids for a room
|
||||
Inbound federation of state_ids requires event_id as a mandatory paramater
|
||||
Federation rejects inbound events where the prev_events cannot be found
|
||||
Outbound federation requests missing prev_events and then asks for /state_ids and resolves the state
|
||||
Alternative server names do not cause a routing loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue