Fix: Activities should be be able again on displayed posts

pull/11585/head
Michael 2022-05-31 17:00:21 +00:00
rodzic d6d826329f
commit f4e680c97e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -106,7 +106,7 @@ function display_init(App $a)
} }
if ($item['gravity'] != GRAVITY_PARENT) { if ($item['gravity'] != GRAVITY_PARENT) {
$parent = Post::selectFirstForUser($item_user, $fields, ['uid' => $item['uid'], 'uri-id' => $item['parent-uri-id']]); $parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [$item['uid'], local_user()], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid']]);
$item = $parent ?: $item; $item = $parent ?: $item;
} }