From my personal experience although this can often be true it can also often be completely wrong. Concretely the friends I have are not a copy of myself and I am not necessarily friends with those that are very similar to me.
Another way to put it is to put people's personality as a binary, they're either of type I or type II.
In the example given, person A and C both had a non-trivial conversation with person B. So person B is type I and person A and C type II. In this case type II can be interpreted as "has non-trivial conversations with type I". There is no reason for person A and C which are both type II to have a non-trivial conversation.