diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go index e81904c4d..30c490df0 100644 --- a/syncapi/sync/requestpool.go +++ b/syncapi/sync/requestpool.go @@ -250,7 +250,7 @@ func (rp *RequestPool) OnIncomingSyncRequest(req *http.Request, device *userapi. giveup := func() util.JSONResponse { syncReq.Log.Debugln("Responding to sync since client gave up or timeout was reached") syncReq.Response.NextBatch = syncReq.Since - // NOTSPEC: We should always include OTKs in sync responses, otherwise clients might upload keys + // We should always try to include OTKs in sync responses, otherwise clients might upload keys // even if that's not required. See also: // https://github.com/matrix-org/synapse/blob/29f06704b8871a44926f7c99e73cf4a978fb8e81/synapse/rest/client/sync.py#L276-L281 err = internal.DeviceOTKCounts(syncReq.Context, rp.keyAPI, syncReq.Device.UserID, syncReq.Device.ID, syncReq.Response)