Restore syncProducer notification

This commit is contained in:
Neil Alexander 2020-06-18 16:42:46 +01:00
parent be235028b9
commit 35d5d00668

View file

@ -104,6 +104,11 @@ func SaveAccountData(
}
}
if err := syncProducer.SendData(userID, roomID, dataType); err != nil {
util.GetLogger(req.Context()).WithError(err).Error("syncProducer.SendData failed")
return jsonerror.InternalServerError()
}
dataReq := api.InputAccountDataRequest{
UserID: userID,
DataType: dataType,