mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
fix: 未领任务提醒机器人无须加入项目
This commit is contained in:
parent
3f5ac55753
commit
47a7876505
@ -63,11 +63,6 @@ class UnclaimedTaskRemindTask extends AbstractTask
|
||||
if (empty($botUser)) {
|
||||
return;
|
||||
}
|
||||
if (!ProjectUser::whereUserid($botUser->userid)->whereProjectId($project->id)->exists()) {
|
||||
$project->joinProject($botUser->userid);
|
||||
$project->syncDialogUser();
|
||||
}
|
||||
//
|
||||
WebSocketDialogMsg::sendMsg(null, $project->dialog_id, 'template', [
|
||||
'type' => 'task_unclaimed',
|
||||
'desc' => '任务待领取',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user