How can I create a block feature for a social app?

I'm looking to create a blocking feature on my social app. In theory, when you would block the player, they can't see or hear me and I can't see or hear them. Any ideas on how to achieve this?

Answers