Merge branch 'develop' into 'develop'

fix ignoring person._misskey_summary on updating remote profiles

Co-authored-by: blueb <ihateblueb@proton.me>

See merge request firefish/firefish!10646
This commit is contained in:
Kainoa Kanter 2023-12-04 04:45:33 +00:00
commit adf7522654

View File

@ -590,7 +590,9 @@ export async function updatePerson(
{ {
url: url, url: url,
fields, fields,
description: person.summary description: person._misskey_summary
? truncate(person._misskey_summary, summaryLength)
: person.summary
? htmlToMfm(truncate(person.summary, summaryLength), person.tag) ? htmlToMfm(truncate(person.summary, summaryLength), person.tag)
: null, : null,
birthday: bday ? bday[0] : null, birthday: bday ? bday[0] : null,