As long as he is a male, and a non-mahram, a woman must observe outer and inner hijab in his presence.
She cannot remove her veil in front of gay men.
As for lesbian women, she does not need to wear hijab in front of them, as long as she knows there is no haram entailed, like lustful gazes. In the case that there is, it is best for her to cover up.
And Allah knows best.