Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ignore public share
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Sep 22, 2022
commit 2d2f3618c0664d360fff6e9238901be1de507929
5 changes: 5 additions & 0 deletions lib/Listener/FileShareUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ public function handle(Event $event): void {
return;
}

// ignore on public share
if ($share->getSharedWith() === null) {
return;
}

try {
$entity = $this->miscService->convertShareRecipient(
$share->getShareType(),
Expand Down