Roomserver output topic
This commit is contained in:
parent
15d44cd707
commit
fd4c6a4fe5
|
@ -111,6 +111,7 @@ func (r *Inputer) WriteOutputEvents(roomID string, updates []api.OutputEvent) er
|
||||||
var err error
|
var err error
|
||||||
for _, update := range updates {
|
for _, update := range updates {
|
||||||
msg := &nats.Msg{
|
msg := &nats.Msg{
|
||||||
|
Subject: r.OutputRoomEventTopic,
|
||||||
Header: nats.Header{},
|
Header: nats.Header{},
|
||||||
}
|
}
|
||||||
msg.Header.Set(jetstream.RoomID, roomID)
|
msg.Header.Set(jetstream.RoomID, roomID)
|
||||||
|
|
Loading…
Reference in a new issue