mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(files_sharing): Also hide own reshares in shared with me section
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
c9c891ff92
commit
efbb3316d9
1 changed files with 1 additions and 1 deletions
|
|
@ -863,7 +863,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 = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue