fix: non-Firefish cats not being nyanified
This commit is contained in:
parent
b61e3050a2
commit
17d94c5ff7
1 changed files with 8 additions and 2 deletions
|
@ -302,7 +302,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;
|
||||
|
@ -549,7 +552,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