Under each opportunity, there are a few Contacts (linked with the opp using an object called "OpportunityRole").

Our component is basically querying all these OpportunityRoles in the opp, get the contacts with their chats and shows them.

So anyone that is related to the opportunity will show up in the chats.

If he's related to other opps - he'll show up there as well.

Did this answer your question?