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
feat(federated-share): forward notification only on remote reshare
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed Jul 21, 2025
commit 36ed81794d1143deb0a83e0e06d00e3e8956644d
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ private function shareAccepted($id, array $notification) {

$this->verifyShare($share, $token);
$this->executeAcceptShare($share);
if ($share->getShareOwner() !== $share->getSharedBy()) {

if ($share->getShareOwner() !== $share->getSharedBy()
&& !$this->userManager->userExists($share->getSharedBy())) {
// only if share was initiated from another instance
[, $remote] = $this->addressHandler->splitUserRemote($share->getSharedBy());
$remoteId = $this->federatedShareProvider->getRemoteId($share);
$notification = $this->cloudFederationFactory->getCloudFederationNotification();
Expand Down
Loading