0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 11:33:54 +01:00
This commit is contained in:
Neil Alexander 2022-09-14 09:55:50 +01:00
parent 482914aef4
commit 7f89fed1e4
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -172,10 +172,12 @@ func (r *Inputer) Start() error {
func(m *nats.Msg) {
roomID := m.Header.Get(jetstream.RoomID)
r.startWorkerForRoom(roomID)
_ = m.Ack()
},
nats.HeadersOnly(),
nats.DeliverAll(),
nats.AckNone(),
nats.AckExplicit(),
nats.ReplayInstant(),
nats.BindStream(r.InputRoomEventTopic),
)
return err