Not hiding one's IP through VPN

I have a question. In a group, if account A only sends messages to account B and account B synchronizes this message for others, can other people in the group know the address of account A?
Account A is not logged in on DHT.

No they cannot.

However in a real env, they will be in the same conversation so they will probably sync with everybody. So at one point they will try to establish a P2P link (and IP will be visible)

If user a and user b are in some kind of intranet, and user a’s jami is not connected to the Internet, will IP be exposed in this case.
By some mechanism, Jami of user A can only contact user B