Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Improve error message on actor name conflict

Chocobozzzc907c2fa3fd7
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index f47fa8b489..c8baf22e22 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -286,7 +286,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
const actor = await ActorModel.loadLocalByName(username)
if (actor) {
res.status(409)
- .send({ error: 'Another actor (account/channel) with this name already exists.' })
+ .send({ error: 'Another actor (account/channel) with this name on this instance already exists or has already existed.' })
.end()
return false
}