From d6229a3c9acbe6c33da5d0e265381f3c8aa0c27a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 8 Nov 2021 10:49:20 +0000 Subject: [PATCH] Publish send-to-device messages into correct JetStream subject --- eduserver/input/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eduserver/input/input.go b/eduserver/input/input.go index 92912779..e7501a90 100644 --- a/eduserver/input/input.go +++ b/eduserver/input/input.go @@ -190,7 +190,7 @@ func (t *EDUServerInputAPI) sendToDeviceEvent(ise *api.InputSendToDeviceEvent) e } if _, err = t.JetStream.PublishMsg(&nats.Msg{ - Subject: t.OutputTypingEventTopic, + Subject: t.OutputSendToDeviceEventTopic, Data: eventJSON, }); err != nil { logrus.WithError(err).Error("sendToDevice failed t.Producer.SendMessage")