From ca8dcf46b746686e213b184c3ae42ba0be17b46b Mon Sep 17 00:00:00 2001 From: Kegsay Date: Fri, 4 Sep 2020 14:25:01 +0100 Subject: Remove QuerySharedUsers from current state server (#1396) * Remove QuerySharedUsers from current state server * Bugfixes --- syncapi/syncapi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syncapi/syncapi.go') 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") -- cgit v1.2.3