People who had a prior COVID-19 infection gained better protection from two-dose vaccines.