Urgent question- The Shingles

Hello everyone my family is going to a special dinner, one of them has he shingles. 
I will not be near him maybe various r seats away or come in contact. Should I still go to dinner with them it's a lot of family that will be going. I am 38 weeks pregnant almost to give birth any second now. Could I get infected although not near or no contact?