This question already has an answer here:
"I do," said Mr Takeda.
The priest repeated the same question to the bride who/whom gave the same reply.
They exchanged rings and the priest declared them husband and wife.
What should I use in this case, who or whom? How to deal with this kind of confusion in the future?