mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
feat: 新增适用OKR评论不在成员列表内也能显示聊天记录
This commit is contained in:
parent
e3079ce6e0
commit
7a1c2c7f2d
@ -495,7 +495,7 @@ class WebSocketDialog extends AbstractModel
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!WebSocketDialogUser::whereDialogId($dialog->id)->whereUserid($userid)->exists()) {
|
||||
if (!WebSocketDialogUser::whereDialogId($dialog->id)->whereUserid($userid)->exists() && $dialog->group_type != 'okr') {
|
||||
throw new ApiException('不在成员列表内', ['dialog_id' => $dialog_id], -4003);
|
||||
}
|
||||
return $dialog;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user