From f59209aaa31195dda40fee870207d42a0ea93df8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 16 May 2018 16:50:36 +0900 Subject: Fix bug --- src/remote/activitypub/models/person.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/remote/activitypub') diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index be035097b9..20e594ff1d 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -49,6 +49,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise Date: Wed, 16 May 2018 17:06:12 +0900 Subject: Save remote user's endpoints --- src/models/user.ts | 1 + src/remote/activitypub/models/person.ts | 4 +++- src/remote/activitypub/type.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/remote/activitypub') diff --git a/src/models/user.ts b/src/models/user.ts index af03faf847..108111ceca 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -87,6 +87,7 @@ export interface ILocalUser extends IUserBase { export interface IRemoteUser extends IUserBase { inbox: string; + endpoints: string[]; uri: string; url?: string; publicKey: { diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 20e594ff1d..33280f3d89 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -101,6 +101,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise -- cgit v1.2.3-freya