diff options
Diffstat (limited to 'src/remote/activitypub/models')
| -rw-r--r-- | src/remote/activitypub/models/person.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index e9ab7d1bd9..61bcf77c43 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -131,7 +131,8 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs endpoints: person.endpoints, uri: person.id, url: person.url, - isBot + isBot: isBot, + isCat: (person as any).isCat === true ? true : false }) as IRemoteUser; } catch (e) { // duplicate key error @@ -262,7 +263,8 @@ export async function updatePerson(value: string | IObject, resolver?: Resolver) notesCount, name: person.name, url: person.url, - endpoints: person.endpoints + endpoints: person.endpoints, + isCat: (person as any).isCat === true ? true : false } }); } |