diff options
author | Kegsay <kegan@matrix.org> | 2020-09-07 12:38:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 12:38:09 +0100 |
commit | 79137599217808d9f9585628408a6c2aa26ab11d (patch) | |
tree | 6b7aa04541b563767ddd0ca04c873c634127678c /cmd | |
parent | 895ead804893191b34fd52a549b22331997d45f7 (diff) |
Remove QueryBulkStateContent from current state server (#1404)
* Remove QueryBulkStateContent from current state server
Expected fail due to db impl not existing
* Implement query bulk state content
* Fix up rejecting invites over federation
* Fix bulk content marshalling
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dendrite-demo-libp2p/publicrooms.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-libp2p/publicrooms.go b/cmd/dendrite-demo-libp2p/publicrooms.go index 2160ddef..838ba77b 100644 --- a/cmd/dendrite-demo-libp2p/publicrooms.go +++ b/cmd/dendrite-demo-libp2p/publicrooms.go @@ -106,7 +106,7 @@ func (p *publicRoomsProvider) AdvertiseRooms() error { util.GetLogger(ctx).WithError(err).Error("QueryPublishedRooms failed") return err } - ourRooms, err := currentstateAPI.PopulatePublicRooms(ctx, queryRes.RoomIDs, p.stateAPI) + ourRooms, err := roomserverAPI.PopulatePublicRooms(ctx, queryRes.RoomIDs, p.rsAPI) if err != nil { util.GetLogger(ctx).WithError(err).Error("PopulatePublicRooms failed") return err |