diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-22 09:16:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-22 09:16:52 +0900 |
| commit | 2536bfb5f50eacd7dc14b18210e2ea490dcea548 (patch) | |
| tree | 78e1133ef31417fea882bbf31e6734602ea9c3bd /src/remote/activitypub/models | |
| parent | Revert "#2387" (diff) | |
| download | misskey-2536bfb5f50eacd7dc14b18210e2ea490dcea548.tar.gz misskey-2536bfb5f50eacd7dc14b18210e2ea490dcea548.tar.bz2 misskey-2536bfb5f50eacd7dc14b18210e2ea490dcea548.zip | |
#2378
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 } }); } |