From 7b3e672d8905ebe08e4054a34dbada85cdb69d46 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 22 Sep 2021 20:04:23 -0600 Subject: [PATCH] Update NoteTransformer, fix tag array --- app/Transformer/ActivityPub/Verb/Note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Transformer/ActivityPub/Verb/Note.php b/app/Transformer/ActivityPub/Verb/Note.php index f58ca6f4b..f63c9cc5e 100644 --- a/app/Transformer/ActivityPub/Verb/Note.php +++ b/app/Transformer/ActivityPub/Verb/Note.php @@ -35,7 +35,7 @@ class Note extends Fractal\TransformerAbstract 'href' => $parent->permalink(), 'name' => $name ]; - $mentions = array_merge($reply, $mentions); + array_push($mentions, $reply); } }