Skip to content

Commit

Permalink
ignore orphan shares
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Dec 9, 2024
1 parent 7560f9d commit 9a63c89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Command/SharesFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ private function displayShares(
$table->render();

foreach ($shareWrappers as $share) {
if (!$share->hasInitiator()) {
continue;
}

if (!$filterRecipient) {
$recipient = $share->getInitiator();
$sharedTo = $recipient->getDisplayName();
Expand Down

0 comments on commit 9a63c89

Please sign in to comment.