From 53937c5e229bd88753b3ec8ac9db076a7163b0c8 Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Sat, 28 Dec 2024 18:58:50 +0800 Subject: [PATCH] fix blockJobNotSuit.has(it.encryptJobId) logic --- packages/geek-auto-start-chat-with-boss/index.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index bad5d00..545b3b9 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -514,8 +514,9 @@ async function toRecommendPage (hooks) { tempTargetJobIndexToCheckDetail = jobListData.findIndex(it => !blockBossNotNewChat.has(it.encryptBossId) && !blockBossNotActive.has(it.encryptBossId) && - [...expectCompanySet].find(name => it.brandName.includes(name))) && + [...expectCompanySet].find(name => it.brandName.includes(name)) && !blockJobNotSuit.has(it.encryptJobId) + ) } if (tempTargetJobIndexToCheckDetail < 0 && hasReachLastPage) {