diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ef6a45c3..4fc084d24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ - Updated AccountTransformer, added ```local``` attribute ([d2a90f11](https://github.com/pixelfed/pixelfed/commit/d2a90f11)) - Updated Laravel framework from v5.8 to v6.x ([3aff6de33](https://github.com/pixelfed/pixelfed/commit/3aff6de33)) - Updated FollowerController to fix bug affecting private profiles ([a429d961](https://github.com/pixelfed/pixelfed/commit/a429d961)) +- Updated StatusTransformer, added ```local``` attribute ([484bb509](https://github.com/pixelfed/pixelfed/commit/484bb509)) ## Deprecated diff --git a/app/Transformer/Api/StatusTransformer.php b/app/Transformer/Api/StatusTransformer.php index 99d7c4a47..7d73c5f6a 100644 --- a/app/Transformer/Api/StatusTransformer.php +++ b/app/Transformer/Api/StatusTransformer.php @@ -47,7 +47,8 @@ class StatusTransformer extends Fractal\TransformerAbstract 'thread' => false, 'replies' => [], 'parent' => [], - 'place' => $status->place + 'place' => $status->place, + 'local' => (bool) $status->local, ]; }