Skip to content

Commit 78462ce

Browse files
committed
fixup! Allow to accept group shares
1 parent a57c6ca commit 78462ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function prepare(INotification $notification, string $languageCode): INot
9797
throw new \InvalidArgumentException();
9898
}
9999
try {
100-
$share = $this->shareManager->getShareById($notification->getObjectId());
100+
$share = $this->shareManager->getShareById($notification->getObjectId(), $notification->getUser());
101101
} catch(ShareNotFound $e) {
102102
throw new AlreadyProcessedException();
103103
}

0 commit comments

Comments
 (0)