diff --git a/src/models/user.ts b/src/models/user.ts index af03faf84..108111cec 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 20e594ff1..33280f3d8 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