When the guy went downstairs to tell his friend, the friend knew what he was getting into. By him going upstairs I believe he knew what he was getting himself into and that by taking that action he had consented to the sex.
Technically I don't think you can call this rape. She didn't once say "no" or attempt to force the guy off. Even though he wasn't who she thought he was.