From bfa326af2cf779ed08962a5e32df8d0d4675b282 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 19 Jul 2018 22:40:44 +0900 Subject: [PATCH] WIP: Support sharedInbox --- src/models/user.ts | 1 + src/remote/activitypub/models/person.ts | 3 +++ src/remote/activitypub/type.ts | 1 + 3 files changed, 5 insertions(+) diff --git a/src/models/user.ts b/src/models/user.ts index ee95854b95..b4daa906ca 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -108,6 +108,7 @@ export interface ILocalUser extends IUserBase { export interface IRemoteUser extends IUserBase { inbox: string; + sharedInbox?: string; endpoints: string[]; uri: string; url?: string; diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 83afd68268..c6f3e8911c 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -117,6 +117,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise