This is the heart of the change.  In addition to looking up the user's friends, we also look up all friends of other users that point back to this user, but only with status == Status.friend.