1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2019-04-19 21:37:36 +09:00
parent 97341d3fa0
commit 2934b09361
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -319,8 +319,6 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
featured: person.featured, featured: person.featured,
emojis: emojiNames, emojis: emojiNames,
name: person.name, name: person.name,
url: person.url,
endpoints: person.endpoints,
tags, tags,
isBot: object.type == 'Service', isBot: object.type == 'Service',
isCat: (person as any).isCat === true, 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 }, { await UserProfiles.update({ userId: exist.id }, {
url: person.url,
fields, fields,
description: person.summary ? fromHtml(person.summary) : null, description: person.summary ? fromHtml(person.summary) : null,
twitterUserId: services.twitter.userId, twitterUserId: services.twitter.userId,