Browse Source

Update NoteTransformer, fix tag array

Daniel Supernault 3 years ago
parent
commit
7b3e672d89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Transformer/ActivityPub/Verb/Note.php

+ 1 - 1
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);
 			}
 		}