Allow users to change the server description (#4420)

This commit is contained in:
Boy132 2022-10-31 17:20:53 +01:00 committed by GitHub
parent b1abae8106
commit f2095e815e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 9 deletions

View file

@ -36,6 +36,7 @@ class SettingsController extends ClientApiController
{
$this->repository->update($server->id, [
'name' => $request->input('name'),
'description' => $request->input('description') ?? '',
]);
if ($server->name !== $request->input('name')) {