From f4e680c97e3856d1f96c0e5198c7bb2298c453e7 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 31 May 2022 17:00:21 +0000 Subject: [PATCH] Fix: Activities should be be able again on displayed posts --- mod/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/display.php b/mod/display.php index 670ce45d16..580ff40fe8 100644 --- a/mod/display.php +++ b/mod/display.php @@ -106,7 +106,7 @@ function display_init(App $a) } 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; } -- 2.39.5