summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/objects')
-rw-r--r--src/remote/activitypub/objects/person.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remote/activitypub/objects/person.ts b/src/remote/activitypub/objects/person.ts
index 151b4a7a79..c5119fb853 100644
--- a/src/remote/activitypub/objects/person.ts
+++ b/src/remote/activitypub/objects/person.ts
@@ -48,8 +48,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs
object.type !== 'Person' ||
typeof object.preferredUsername !== 'string' ||
!validateUsername(object.preferredUsername) ||
- !isValidName(object.name == '' ? null : object.name) ||
- !isValidDescription(object.summary)
+ !isValidName(object.name == '' ? null : object.name)
) {
log(`invalid person: ${JSON.stringify(object, null, 2)}`);
throw new Error('invalid person');