not entirely on you i think as a trans person if im going to be in a social situation with people who knew me from before even acquaintances i met through my exgfnowroommate either she or i try to make sure that everyone has a headsup as to my new reality it means coming out a lot for a while but it avoids exactly the kind of embarrassment you just had