下班静默推送

This commit is contained in:
kuaifan 2023-04-12 18:17:11 +08:00
parent 80dd76b078
commit 247b9ee0c1

View File

@ -158,7 +158,7 @@ class PublicController extends AbstractController
if ($suff) {
$text = "{$text}<p>----------</p><p>{$suff}</p>";
}
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'text', ['text' => $text], $botUser->userid);
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'text', ['text' => $text], $botUser->userid, false, false, $type != "up");
}
};
if ($timeAdvance <= Base::time() && Base::time() < $timeEnd) {