fix?: speakAsCat not being federated
This commit is contained in:
parent
a18e0daf4b
commit
b4bb455c09
2 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,7 @@ export async function createPerson(
|
||||||
tags,
|
tags,
|
||||||
isBot,
|
isBot,
|
||||||
isCat: (person as any).isCat === true,
|
isCat: (person as any).isCat === true,
|
||||||
|
speakAsCat: person.speakAsCat,
|
||||||
isIndexable: person.indexable,
|
isIndexable: person.indexable,
|
||||||
}),
|
}),
|
||||||
)) as IRemoteUser;
|
)) as IRemoteUser;
|
||||||
|
|
|
@ -81,6 +81,7 @@ export async function renderPerson(user: ILocalUser) {
|
||||||
discoverable: !!user.isExplorable,
|
discoverable: !!user.isExplorable,
|
||||||
publicKey: renderKey(user, keypair, "#main-key"),
|
publicKey: renderKey(user, keypair, "#main-key"),
|
||||||
isCat: user.isCat,
|
isCat: user.isCat,
|
||||||
|
speakAsCat: user.speakAsCat,
|
||||||
indexable: user.isIndexable,
|
indexable: user.isIndexable,
|
||||||
attachment: attachment.length ? attachment : undefined,
|
attachment: attachment.length ? attachment : undefined,
|
||||||
} as any;
|
} as any;
|
||||||
|
|
Loading…
Reference in a new issue