Try to check auth events in the RS input queue

This commit is contained in:
Neil Alexander 2021-12-08 15:29:39 +00:00
parent 739acc1291
commit 8cd5fd4849
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 73 additions and 8 deletions

View file

@ -23,6 +23,7 @@ import (
"github.com/Shopify/sarama"
"github.com/getsentry/sentry-go"
fsAPI "github.com/matrix-org/dendrite/federationapi/api"
"github.com/matrix-org/dendrite/internal/hooks"
"github.com/matrix-org/dendrite/roomserver/acls"
"github.com/matrix-org/dendrite/roomserver/api"
@ -45,6 +46,7 @@ type Inputer struct {
Producer sarama.SyncProducer
ServerName gomatrixserverlib.ServerName
ACLs *acls.ServerACLs
FSAPI fsAPI.FederationInternalAPI
OutputRoomEventTopic string
workers sync.Map // room ID -> *inputWorker
}