Browse Source

Update NoteTransformer, fix tag array

Daniel Supernault 3 năm trước cách đây
mục cha
commit
7b3e672d89
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 			}
 		}