mirror of
https://example.com
synced 2024-11-22 12:16:40 +09:00
fix: non-Firefish cats not being nyanified
This commit is contained in:
parent
40f0f8abee
commit
6a46044cf4
1 changed files with 8 additions and 2 deletions
|
@ -301,7 +301,10 @@ export async function createPerson(
|
|||
tags,
|
||||
isBot,
|
||||
isCat: (person as any).isCat === true,
|
||||
speakAsCat: (person as any).speakAsCat === true,
|
||||
speakAsCat:
|
||||
person.speakAsCat != null
|
||||
? person.speakAsCat === true
|
||||
: (person as any).isCat === true,
|
||||
isIndexable: person.indexable,
|
||||
}),
|
||||
)) as IRemoteUser;
|
||||
|
@ -545,7 +548,10 @@ export async function updatePerson(
|
|||
tags,
|
||||
isBot: getApType(object) !== "Person",
|
||||
isCat: (person as any).isCat === true,
|
||||
speakAsCat: (person as any).speakAsCat === true,
|
||||
speakAsCat:
|
||||
person.speakAsCat != null
|
||||
? person.speakAsCat === true
|
||||
: (person as any).isCat === true,
|
||||
isIndexable: person.indexable,
|
||||
isLocked: !!person.manuallyApprovesFollowers,
|
||||
movedToUri: person.movedTo || null,
|
||||
|
|
Loading…
Reference in a new issue