People who caught Covid-19 before they were vaccinated had a weaker immune response to the shots than those who never had the virus, potentially leaving them less protected against reinfection, new research shows.