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
@@ -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 = "";
}