no message

This commit is contained in:
kuaifan
2022-07-19 15:50:25 +08:00
parent 4c6b58cbd5
commit 3fa2814531
3 changed files with 19 additions and 20 deletions

View File

@@ -307,7 +307,7 @@ class WebSocketDialogMsg extends AbstractModel
public function toggleTodoMsg($sender, $userids = [])
{
if (in_array($this->type, ['tag', 'todo', 'notice'])) {
return Base::retError('此消息不支持待办');
return Base::retError('此消息不支持待办');
}
if ($this->todo && $this->todo != $sender) {
return Base::retError('仅支持设此待办人员【' . User::userid2nickname($this->todo) . '】取消');