hey, do this

make the Post user a list of user, add both user in it which are in chat.

then on privacy rule, simpley use

Current user is in this post users or This post users contain current user

see if it work, else ping me i will walk you in it, with meet. if you like