mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Roomserver output topic
This commit is contained in:
parent
15d44cd707
commit
fd4c6a4fe5
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ func (r *Inputer) WriteOutputEvents(roomID string, updates []api.OutputEvent) er
|
|||
var err error
|
||||
for _, update := range updates {
|
||||
msg := &nats.Msg{
|
||||
Header: nats.Header{},
|
||||
Subject: r.OutputRoomEventTopic,
|
||||
Header: nats.Header{},
|
||||
}
|
||||
msg.Header.Set(jetstream.RoomID, roomID)
|
||||
msg.Data, err = json.Marshal(update)
|
||||
|
|
Loading…
Reference in a new issue