1
0
Fork 0

Merge remote-tracking branch 'upstream/develop' into fixed-view

This commit is contained in:
Michael 2021-01-17 15:04:25 +00:00
commit 772dcc36ca

View file

@ -85,7 +85,7 @@ class PublicTimeline extends BaseApi
$items = Post::selectForUser(0, ['uri-id', 'uid'], $condition, $params); $items = Post::selectForUser(0, ['uri-id', 'uid'], $condition, $params);
$statuses = []; $statuses = [];
while ($item = Item::fetch($items)) { while ($item = Post::fetch($items)) {
$statuses[] = DI::mstdnStatus()->createFromUriId($item['uri-id'], $item['uid']); $statuses[] = DI::mstdnStatus()->createFromUriId($item['uri-id'], $item['uid']);
} }
DBA::close($items); DBA::close($items);