]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Activities should be be able again on displayed posts
authorMichael <heluecht@pirati.ca>
Tue, 31 May 2022 17:00:21 +0000 (17:00 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 31 May 2022 17:00:21 +0000 (17:00 +0000)
mod/display.php

index 670ce45d16bb02766800dc18dcdc8934a6cbb715..580ff40fe8bc9ec956fc7c8c4edd8a6c158c4978 100644 (file)
@@ -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;
        }