no message

This commit is contained in:
kuaifan 2023-03-06 11:57:20 +08:00
parent 96b14911f6
commit 318effd1ec

View File

@ -959,7 +959,7 @@ class DialogController extends AbstractController
if (empty($dialog)) {
return Base::retError('匿名机器人会话不存在');
}
return WebSocketDialogMsg::sendMsg(null, $dialog->id, 'text', ['text' => "<p>{$text}</p>"], $botUser->userid);
return WebSocketDialogMsg::sendMsg(null, $dialog->id, 'text', ['text' => "<p>{$text}</p>"], $botUser->userid, true);
}
/**