summaryrefslogtreecommitdiff
path: root/src/remote
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-09-08 05:24:55 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-09-08 05:24:55 +0900
commitef624977770c4d4b501a0e167804e69752c9ca44 (patch)
tree7827720490a0291fc5b4a78ff9d10dbc874eb523 /src/remote
parentAdd animation (diff)
downloadmisskey-ef624977770c4d4b501a0e167804e69752c9ca44.tar.gz
misskey-ef624977770c4d4b501a0e167804e69752c9ca44.tar.bz2
misskey-ef624977770c4d4b501a0e167804e69752c9ca44.zip
ActivityPub Outboxの修正とactivity idのURLを実装 (#2662)
* Fix Outbox structure * Implement activity endpoint * Use in instead of or * Use in, addition
Diffstat (limited to 'src/remote')
-rw-r--r--src/remote/activitypub/renderer/announce.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/announce.ts b/src/remote/activitypub/renderer/announce.ts
index f6276ade04..18e23cc336 100644
--- a/src/remote/activitypub/renderer/announce.ts
+++ b/src/remote/activitypub/renderer/announce.ts
@@ -5,7 +5,7 @@ export default (object: any, note: INote) => {
const attributedTo = `${config.url}/users/${note.userId}`;
return {
- id: `${config.url}/notes/${note._id}`,
+ id: `${config.url}/notes/${note._id}/activity`,
actor: `${config.url}/users/${note.userId}`,
type: 'Announce',
published: note.createdAt.toISOString(),