From 23f4a1cfecec86b9be350b0dda379746f1eaf03c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 12 Nov 2018 23:15:08 -0700 Subject: [PATCH] Add AP Announce Transformer --- app/Transformer/ActivityPub/Verb/Announce.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/Transformer/ActivityPub/Verb/Announce.php diff --git a/app/Transformer/ActivityPub/Verb/Announce.php b/app/Transformer/ActivityPub/Verb/Announce.php new file mode 100644 index 00000000..b6acb31d --- /dev/null +++ b/app/Transformer/ActivityPub/Verb/Announce.php @@ -0,0 +1,19 @@ + 'https://www.w3.org/ns/activitystreams', + 'type' => 'Announce', + 'actor' => $status->profile->permalink(), + 'object' => $status->parent()->url() + ]; + } +} \ No newline at end of file