no message

This commit is contained in:
kuaifan
2023-04-02 11:18:09 +08:00
parent c2db186620
commit b580a9f7ad
2 changed files with 4 additions and 3 deletions

View File

@@ -713,6 +713,7 @@ class DialogController extends AbstractController
//
if (in_array($text_type, ['md', 'markdown'])) {
$text = Str::markdown($text);
$text = preg_replace("/\>\r?\n\s*+\</", "><", $text);
}
$text = WebSocketDialogMsg::formatMsg($text, $dialog_id);
$strlen = mb_strlen($text);