From 9813f33fb8f92f81464045e36a1af360ef2c4433 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 37d950825..aeffbeaf2 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,