Merge pull request #55827 from nextcloud/fix/ocm-owner-sharing

fix(ocm-sharing): The owner needs to be set for sharing to work
pull/55760/head^2
Joas Schilling 3 months ago committed by GitHub
commit 00a6a73f3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php

@ -108,7 +108,7 @@ class CloudFederationProviderFiles implements ISignedCloudFederationProvider {
$token = $share->getShareSecret();
$name = $share->getResourceName();
$owner = $share->getOwnerDisplayName();
$owner = $share->getOwnerDisplayName() ?: $share->getOwner();
$sharedBy = $share->getSharedByDisplayName();
$shareWith = $share->getShareWith();
$remoteId = $share->getProviderId();

Loading…
Cancel
Save