0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-18 04:23:43 +01:00
dendrite/federationsender
Kegsay b507312d4c
MSC2836 threading: part 2 (#1596)
* Update GMSL

* Add MSC2836EventRelationships to fedsender

* Call MSC2836EventRelationships in reqCtx

* auth remote servers

* Extract room ID and servers from previous events; refactor a bit

* initial cut of federated threading

* Use the right client/fed struct in the response

* Add QueryAuthChain for use with MSC2836

* Add auth chain to federated response

* Fix pointers

* under CI: more logging and enable mscs, nil fix

* Handle direction: up

* Actually send message events to the roomserver..

* Add children and children_hash to unsigned, with tests

* Add logic for exploring threads and tracking children; missing storage functions

* Implement storage functions for children

* Add fetchUnknownEvent

* Do federated hits for include_children if we have unexplored children

* Use /ev_rel rather than /event as the former includes child metadata

* Remove cross-room threading impl

* Enable MSC2836 in the p2p demo

* Namespace mscs db

* Enable msc2836 for ygg

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-12-04 14:11:01 +00:00
..
api MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
consumers federationsender/roomserver: don't panic while federation is disabled (#1615) 2020-12-04 14:08:17 +00:00
internal MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
inthttp MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
queue federationsender/roomserver: don't panic while federation is disabled (#1615) 2020-12-04 14:08:17 +00:00
statistics Refactor backoff again (#1431) 2020-09-21 13:30:37 +01:00
storage Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
types Persistent federation sender blacklist (#1214) 2020-07-22 17:01:29 +01:00
federationsender.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00