get(UserFriendService::class)->isFriend($user_id, $receiver_id, true); } else if ($talk_type == TalkModeConstant::GROUP_CHAT) { return di()->get(GroupMemberService::class)->isMember($receiver_id, $user_id); } return false; } }