fix: 任务首次发消息消失的情况

This commit is contained in:
kuaifan
2023-02-07 02:30:43 +08:00
parent f578ac9e38
commit 1d5cf81d9e
2 changed files with 4 additions and 2 deletions

View File

@@ -459,6 +459,7 @@ class DialogController extends AbstractController
->value('id'));
}
$data['list'] = $list;
$data['time'] = Base::time();
// 记录当前打开的任务对话
if ($dialog->type == 'group' && $dialog->group_type == 'task') {
$user->task_dialog_id = $dialog->id;