aboutsummaryrefslogtreecommitdiff
path: root/syncapi/syncapi.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-10-08 10:27:10 +0100
committerGitHub <noreply@github.com>2020-10-08 10:27:10 +0100
commit3e12f6e9c210824ecd80c5c4dcccabf742eb4183 (patch)
treec72511160c5123fea944353ed65ae87972835412 /syncapi/syncapi.go
parent8b880be57e41c47b11b8f238daed7ae0151959f4 (diff)
Remove notifs about key changes in syncapi (#1496)
The join/leave events themselves will wake up the right people so we needn't do it twice.
Diffstat (limited to 'syncapi/syncapi.go')
-rw-r--r--syncapi/syncapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/syncapi.go b/syncapi/syncapi.go
index c77c5541..43e2455b 100644
--- a/syncapi/syncapi.go
+++ b/syncapi/syncapi.go
@@ -71,7 +71,7 @@ func AddPublicRoutes(
}
roomConsumer := consumers.NewOutputRoomEventConsumer(
- cfg, consumer, notifier, syncDB, rsAPI, keyChangeConsumer,
+ cfg, consumer, notifier, syncDB, rsAPI,
)
if err = roomConsumer.Start(); err != nil {
logrus.WithError(err).Panicf("failed to start room server consumer")