From 97793adb0f75dd39a5ee4b0768a0d92587046a6c Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Thu, 8 May 2025 03:33:23 +0800 Subject: [PATCH] =?UTF-8?q?check=20message=20list=20when=20find=20last=20m?= =?UTF-8?q?essage=20is=20`=E5=BC=80=E5=9C=BA=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E6=9C=9F=E5=BE=85=E4=BD=A0=E7=9A=84=E5=9B=9E=E7=AD=94`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/src/main/flow/READ_NO_REPLY_AUTO_REMINDER/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/main/flow/READ_NO_REPLY_AUTO_REMINDER/index.ts b/packages/ui/src/main/flow/READ_NO_REPLY_AUTO_REMINDER/index.ts index 174f1bc..0560f55 100644 --- a/packages/ui/src/main/flow/READ_NO_REPLY_AUTO_REMINDER/index.ts +++ b/packages/ui/src/main/flow/READ_NO_REPLY_AUTO_REMINDER/index.ts @@ -121,7 +121,6 @@ const mainLoop = async () => { '你与该职位竞争者PK情况', '简历诊断提醒', '附件简历还没准备好', - '开场问题,期待你的回答', '设置合适的期望薪资范围' ].map((it) => new RegExp(it)) browser = await bootstrap() @@ -202,9 +201,10 @@ const mainLoop = async () => { (rechatLimitDay && it.updateTime ? +new Date() - it.updateTime < rechatLimitDay * 24 * 60 * 60 * 1000 : true) && - ((it.lastIsSelf && it.lastMsgStatus === MsgStatus.HAS_READ) || + ((((it.lastIsSelf && it.lastMsgStatus === MsgStatus.HAS_READ) || canNotConfirmIfHasReadMsgTemplateList.some((regExp) => regExp.test(it.lastText))) && - !it.unreadCount + !it.unreadCount) || + (!it.lastIsSelf && it.lastText === '开场问题,期待你的回答')) ) })