summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-16 17:06:12 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-16 17:06:12 +0900
commit66437f31c09f2257e6f683237b71e13d80fa4b50 (patch)
treeeb71ae9f190a30c1efcf9ba3317016646ac4c5c7 /src/remote/activitypub/models
parent:v: (diff)
downloadmisskey-66437f31c09f2257e6f683237b71e13d80fa4b50.tar.gz
misskey-66437f31c09f2257e6f683237b71e13d80fa4b50.tar.bz2
misskey-66437f31c09f2257e6f683237b71e13d80fa4b50.zip
Save remote user's endpoints
Diffstat (limited to 'src/remote/activitypub/models')
-rw-r--r--src/remote/activitypub/models/person.ts4
1 files changed, 3 insertions, 1 deletions
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<IUs
publicKeyPem: person.publicKey.publicKeyPem
},
inbox: person.inbox,
+ endpoints: person.endpoints,
uri: person.id,
url: person.url
}) as IRemoteUser;
@@ -208,7 +209,8 @@ export async function updatePerson(value: string | IObject, resolver?: Resolver)
followingCount,
notesCount,
name: person.name,
- url: person.url
+ url: person.url,
+ endpoints: person.endpoints
}
});
}