Merge commit '2b5b522f3ec7c0bb8c2c82fbe754b194df550305' into pro

# Conflicts:
#	public/site/zh/index.html
This commit is contained in:
kuaifan
2023-07-27 11:54:04 +08:00
4 changed files with 12 additions and 3 deletions

View File

@@ -555,7 +555,7 @@ class WebSocketDialog extends AbstractModel
return $dialogUser;
}
if ($receiver > 0 && $user->isTemp()) {
throw new ApiException('无法发起会话');
throw new ApiException('无法发起会话,请联系管理员。');
}
return AbstractModel::transaction(function () use ($receiver, $user) {
$dialog = self::createInstance([