kopia lustrzana https://github.com/friendica/friendica
We should now always fetch the user posts
rodzic
f4e680c97e
commit
36b80eb704
|
@ -106,7 +106,7 @@ function display_init(App $a)
|
|||
}
|
||||
|
||||
if ($item['gravity'] != GRAVITY_PARENT) {
|
||||
$parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [$item['uid'], local_user()], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid']]);
|
||||
$parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [0, $item_user], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid' => true]]);
|
||||
$item = $parent ?: $item;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue