mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
fadff146b4
commit
6b4b88aba7
@ -282,7 +282,7 @@ class UserBot extends AbstractModel
|
|||||||
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [
|
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [
|
||||||
'type' => 'content',
|
'type' => 'content',
|
||||||
'content' => $text,
|
'content' => $text,
|
||||||
], $botUser->userid, false, false, $type != "up");
|
], $botUser->userid, false, false, true);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -643,7 +643,7 @@ class WebSocketDialogMsg extends AbstractModel
|
|||||||
* @param string $key
|
* @param string $key
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function generateKeyAndSave(string $key = ''): void
|
public function generateKeyAndSave($key = ''): void
|
||||||
{
|
{
|
||||||
if (empty($key)) {
|
if (empty($key)) {
|
||||||
$key = '';
|
$key = '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user