fix: non-Firefish cats not being nyanified
This commit is contained in:
parent
b61e3050a2
commit
17d94c5ff7
@ -302,7 +302,10 @@ export async function createPerson(
|
|||||||
tags,
|
tags,
|
||||||
isBot,
|
isBot,
|
||||||
isCat: (person as any).isCat === true,
|
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,
|
isIndexable: person.indexable,
|
||||||
}),
|
}),
|
||||||
)) as IRemoteUser;
|
)) as IRemoteUser;
|
||||||
@ -549,7 +552,10 @@ export async function updatePerson(
|
|||||||
tags,
|
tags,
|
||||||
isBot: getApType(object) !== "Person",
|
isBot: getApType(object) !== "Person",
|
||||||
isCat: (person as any).isCat === true,
|
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,
|
isIndexable: person.indexable,
|
||||||
isLocked: !!person.manuallyApprovesFollowers,
|
isLocked: !!person.manuallyApprovesFollowers,
|
||||||
movedToUri: person.movedTo || null,
|
movedToUri: person.movedTo || null,
|
||||||
|
Loading…
Reference in New Issue
Block a user