I wanted to ask that, my friend (female) was in a hotel with her friend who is also a female, for a convention. my friend knew that the other is a bisexual and she asked me if it's OK for Muslim girls to share a room with homosexual girls. when i was in middle school i asked the same thing to my teachers and they said we cannot. also that friend of mine and her friend are both Muslims. thank you!
I expect that those teachers who said that it is prohibited considered the situation similar to one of sharing a room with a person of the opposite sex. But that is not an exact comparison because your friend herself is not a homosexual, so there is no likelihood of sexual desire by her toward the homosexual girl, even if the homosexual girl may plausibly have it or develop it toward her.
For that reason, while it would be a good thing to avoid such a situation, it is not exactly the same as a woman sharing a room with a man. Whether one should accept to be in such a situation or not depends on the homosexual person’s character. If they are well-known to the person and are known to be self-respecting and trustworthy, then there is little danger in the situation. But if they are known to be unreliable and flirtatious, or are strangers or little-known, then one should avoid sharing a room with them.
By living a homosexual lifestyle, a person has broken religious laws, but they may still follow various social protocols and customs that makes it harmless to interact with them. It is probably not correct to assume that all rules applying to the opposite sex would also automatically apply to homosexual people of one’s own sex. I am not a mufti and cannot find relevant opinions on this matter from respected scholars. The above is just my opinion.