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