This repository was archived by the owner on Nov 25, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Try to update all the places but man are there a lot - I likely missed some. I've also swapped to
current-state-server
where appropriate (e.g in docker which I forgot to add stuff previously).There's a few major gotchas:
ExternalPublicRoomsProvider
is not implemented yet.Questions:
dendritejs
just asked for HSes which then had fan-out/fan-in semantics when hitting those servers, with aggregations.libp2p
has both a pubsub and a DHT form to extract additional rooms, though only pubsub was hooked up tomain.go
.I propose we instead have an interface along the lines of:
which is called every time on receipt of a
/publicRooms
request. We move p2p specific stuff (pubsub/fan-out) to their respective/cmd
files and implement the interface instead of using the storage DB orExternalPublicRoomsProvider
in its current form.