No, messages are signed and sent by the shared key, to the shared key, so it leaks very little. The shared key acts as a proxy for group id here.
Hmm. Need to read it.
https://github.com/nostr-protocol/nips/blob/ab1faec19661bd682f7100b73d830af5f31d37ca/87.md