aboutsummaryrefslogtreecommitdiff
path: root/syncapi/syncapi.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-09-04 14:25:01 +0100
committerGitHub <noreply@github.com>2020-09-04 14:25:01 +0100
commitca8dcf46b746686e213b184c3ae42ba0be17b46b (patch)
tree25a1708a15e8ec0cf2ab6d0a574411ce8e31cc87 /syncapi/syncapi.go
parent81688d6bde5e544d11691e5b137eb444a35c9d32 (diff)
Remove QuerySharedUsers from current state server (#1396)
* Remove QuerySharedUsers from current state server * Bugfixes
Diffstat (limited to 'syncapi/syncapi.go')
-rw-r--r--syncapi/syncapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncapi/syncapi.go b/syncapi/syncapi.go
index 0f4ea828..634bd1ee 100644
--- a/syncapi/syncapi.go
+++ b/syncapi/syncapi.go
@@ -62,11 +62,11 @@ func AddPublicRoutes(
logrus.WithError(err).Panicf("failed to start notifier")
}
- requestPool := sync.NewRequestPool(syncDB, notifier, userAPI, keyAPI, currentStateAPI)
+ requestPool := sync.NewRequestPool(syncDB, notifier, userAPI, keyAPI, rsAPI, currentStateAPI)
keyChangeConsumer := consumers.NewOutputKeyChangeEventConsumer(
cfg.Matrix.ServerName, string(cfg.Matrix.Kafka.TopicFor(config.TopicOutputKeyChangeEvent)),
- consumer, notifier, keyAPI, currentStateAPI, syncDB,
+ consumer, notifier, keyAPI, rsAPI, currentStateAPI, syncDB,
)
if err = keyChangeConsumer.Start(); err != nil {
logrus.WithError(err).Panicf("failed to start key change consumer")