From 2934b093614d885f926eb3938c7065e7a8239720 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 Apr 2019 21:37:36 +0900 Subject: [PATCH] Fix bug --- src/remote/activitypub/models/person.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 37d9508252..aeffbeaf29 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -319,8 +319,6 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint featured: person.featured, emojis: emojiNames, name: person.name, - url: person.url, - endpoints: person.endpoints, tags, isBot: object.type == 'Service', isCat: (person as any).isCat === true, @@ -348,6 +346,7 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint }); await UserProfiles.update({ userId: exist.id }, { + url: person.url, fields, description: person.summary ? fromHtml(person.summary) : null, twitterUserId: services.twitter.userId,