Start the send-to-device consumer

This commit is contained in:
Neil Alexander 2020-05-27 15:04:06 +01:00
parent 062325b6c6
commit ba6e55ecf5

View file

@ -81,7 +81,7 @@ func SetupSyncAPIComponent(
logrus.WithError(err).Panicf("failed to start typing consumer")
}
sendToDeviceConsumer := consumers.NewOutputClientDataConsumer(
sendToDeviceConsumer := consumers.NewOutputSendToDeviceEventConsumer(
base.Cfg, base.KafkaConsumer, notifier, syncDB,
)
if err = sendToDeviceConsumer.Start(); err != nil {