fix(files_sharing): Also hide own reshares in shared with me section

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/54479/head
provokateurin 2025-08-18 11:38:05 +07:00
parent 2d659b2f04
commit 37175e0e2b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -867,7 +867,7 @@ class ShareAPIController extends OCSController {
$shares = array_merge($userShares, $groupShares, $circleShares, $roomShares, $deckShares, $sciencemeshShares);
$filteredShares = array_filter($shares, function (IShare $share) {
return $share->getShareOwner() !== $this->userId;
return $share->getShareOwner() !== $this->userId && $share->getSharedBy() !== $this->userId;
});
$formatted = [];