We know that this thing is hated by Allah (swt) and those who are like this are cursed. She will be punished twice? First: because she talks to him even though he is not her Mahram. Secondly: because he is Gay?
……………………………….
She will be punished because he is not her mahram but not because he is gay. She will be punished for approving him to be gay.
And Allah knows best