summaryrefslogtreecommitdiff
path: root/src/remote/activitypub
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-17 02:37:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-17 02:37:20 +0900
commitd70e27a8654f3652972c8295e202e8d37c8131fd (patch)
tree6f7963f2a0b031cdd02aed78182a43257ac65578 /src/remote/activitypub
parent6.2.0 (diff)
downloadsharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.tar.gz
sharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.tar.bz2
sharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.zip
Provide id in announce activity
Diffstat (limited to 'src/remote/activitypub')
-rw-r--r--src/remote/activitypub/renderer/announce.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/announce.ts b/src/remote/activitypub/renderer/announce.ts
index 8c3ff9f113..7a3f886447 100644
--- a/src/remote/activitypub/renderer/announce.ts
+++ b/src/remote/activitypub/renderer/announce.ts
@@ -1,4 +1,5 @@
-export default (object: any) => ({
+export default (id: string, object: any) => ({
type: 'Announce',
+ id,
object
});