no message

This commit is contained in:
kuaifan 2024-12-11 22:17:51 +08:00
parent c51116acaa
commit 7132413837
2 changed files with 6 additions and 2 deletions

View File

@ -1056,7 +1056,11 @@ class DialogController extends AbstractController
} elseif ($reply_id > 0) {
$action = "reply-$reply_id";
if ($reply_check === 'yes') {
$exisUserMsg = WebSocketDialogMsg::whereDialogId($dialog_id)->where('id', '>', $reply_id)->whereBot(0)->exists();
$exisUserMsg = WebSocketDialogMsg::whereDialogId($dialog_id)
->where('id', '>', $reply_id)
->whereBot(0)
->whereNotIn('type', ['notice', 'template'])
->exists();
if (!$exisUserMsg) {
$action = "";
}

View File

@ -167,7 +167,7 @@ services:
ai:
container_name: "dootask-ai-${APP_ID}"
image: "kuaifan/dootask-ai:0.1.6"
image: "kuaifan/dootask-ai:0.2.0"
environment:
REDIS_HOST: "${REDIS_HOST}"
REDIS_PORT: "${REDIS_PORT}"