I wish I'd seen this post before already posting the answer to this. I would have pinged both people who said this.
Influenza leaves people extremely susceptible to bacterial infections. She would not have gotten pneumonia if she had not had the flu.
Maybe she wouldn’t have gotten the flu if she stayed home, too.