Add /activity to activity create ids
authorChocobozzz <me@florianbigard.com>
Thu, 22 Mar 2018 15:11:18 +0000 (16:11 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 22 Mar 2018 15:11:18 +0000 (16:11 +0100)
server/lib/activitypub/send/send-create.ts

index b92615e9bc89cea7b6b74af8da7d9ab41a05c38b..2fa00845392459809cece90a059502a33b79b4cb 100644 (file)
@@ -145,7 +145,7 @@ async function createActivityData (
 
   return audiencify({
     type: 'Create',
-    id: url,
+    id: url + '/activity',
     actor: byActor.url,
     object: audiencify(object, audience)
   }, audience)