From becb8b4f66bdacca23b0b169e07d845afcb3d204 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Fri, 29 Jul 2022 19:30:38 +0200 Subject: [PATCH] Update apub examples to remove `to` field (ref #2380) (#2382) --- .../apub/assets/lemmy/activities/voting/dislike_page.json | 3 --- crates/apub/assets/lemmy/activities/voting/like_note.json | 3 --- .../assets/lemmy/activities/voting/undo_dislike_page.json | 6 ------ .../apub/assets/lemmy/activities/voting/undo_like_note.json | 6 ------ 4 files changed, 18 deletions(-) diff --git a/crates/apub/assets/lemmy/activities/voting/dislike_page.json b/crates/apub/assets/lemmy/activities/voting/dislike_page.json index 6683a666..dbf1eda7 100644 --- a/crates/apub/assets/lemmy/activities/voting/dislike_page.json +++ b/crates/apub/assets/lemmy/activities/voting/dislike_page.json @@ -1,8 +1,5 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": "http://ds9.lemmy.ml/post/1", "cc": [ "https://www.w3.org/ns/activitystreams#Public" diff --git a/crates/apub/assets/lemmy/activities/voting/like_note.json b/crates/apub/assets/lemmy/activities/voting/like_note.json index e9fc366a..0ce7f2aa 100644 --- a/crates/apub/assets/lemmy/activities/voting/like_note.json +++ b/crates/apub/assets/lemmy/activities/voting/like_note.json @@ -1,8 +1,5 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": "http://ds9.lemmy.ml/comment/1", "cc": [ "https://www.w3.org/ns/activitystreams#Public" diff --git a/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json b/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json index 2234e410..fe708971 100644 --- a/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json +++ b/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json @@ -1,13 +1,7 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": "http://ds9.lemmy.ml/post/1", "cc": [ "https://www.w3.org/ns/activitystreams#Public" diff --git a/crates/apub/assets/lemmy/activities/voting/undo_like_note.json b/crates/apub/assets/lemmy/activities/voting/undo_like_note.json index e22c8fd1..369c814c 100644 --- a/crates/apub/assets/lemmy/activities/voting/undo_like_note.json +++ b/crates/apub/assets/lemmy/activities/voting/undo_like_note.json @@ -1,13 +1,7 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], "object": "http://ds9.lemmy.ml/comment/1", "cc": [ "https://www.w3.org/ns/activitystreams#Public" -- 2.44.1