[PLUGIN][ActivityPub] Implement Group Outbox

Fix various minor issues
This commit is contained in:
2022-02-11 00:22:22 +00:00
parent fb3e900b28
commit 17733f32d6
6 changed files with 38 additions and 10 deletions

View File

@@ -293,7 +293,7 @@ class Note extends Entity
public static function getAllNotesByActor(Actor $actor): array
{
return DB::findBy('note', ['actor_id' => $actor->getId()], order_by: ['created' => 'DESC', 'id' => 'DESC']);
return DB::findBy(self::class, ['actor_id' => $actor->getId()], order_by: ['created' => 'DESC', 'id' => 'DESC']);
}
public function getAttachments(): array