Explorar o código

Update NoteTransformer, fix tag array

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
7b3e672d89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 			}
 		}