Commit cba74f10 authored by Mark Harding's avatar Mark Harding
Browse files

(fix): reverse pinned posts array

parent 141bae6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -132,7 +132,7 @@ class container implements Interfaces\Api
            'from_timestamp' => $fromTimestamp,
            'from_timestamp' => $fromTimestamp,
            'query' => $query,
            'query' => $query,
            'single_owner_threshold' => 0,
            'single_owner_threshold' => 0,
            'pinned_guids' => $type === 'activity' ? $container->getPinnedPosts() : null,
            'pinned_guids' => $type === 'activity' ? array_reverse($container->getPinnedPosts()) : null,
        ];
        ];


        if (isset($_GET['nsfw'])) {
        if (isset($_GET['nsfw'])) {