no message

This commit is contained in:
kuaifan 2024-10-24 12:25:14 +08:00
parent fadff146b4
commit 6b4b88aba7
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class UserBot extends AbstractModel
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [
'type' => 'content',
'content' => $text,
], $botUser->userid, false, false, $type != "up");
], $botUser->userid, false, false, true);
}
return;
}

View File

@ -643,7 +643,7 @@ class WebSocketDialogMsg extends AbstractModel
* @param string $key
* @return void
*/
public function generateKeyAndSave(string $key = ''): void
public function generateKeyAndSave($key = ''): void
{
if (empty($key)) {
$key = '';