mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Restore syncProducer notification
This commit is contained in:
parent
be235028b9
commit
35d5d00668
|
|
@ -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{
|
dataReq := api.InputAccountDataRequest{
|
||||||
UserID: userID,
|
UserID: userID,
|
||||||
DataType: dataType,
|
DataType: dataType,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue