Staying at hotel with his friend

My bf and is going to a party at a hotel and he is sharing a room with his friend who is a guy. I just found out that i can go and my bf and his friend already paid for the room. Its only for a night and the party wont end until like midnight and we leave by 10 am. My bf keeps asking is that okay that someone else will be in the room in a different bed of course and i said yes because we are barely there/sleeping. I have never met this friend but will trust my bf that hes a good person and all. What does everyone else think? would this be okay???