mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 08:29:10 -05:00
Merge pull request #55827 from nextcloud/fix/ocm-owner-sharing
fix(ocm-sharing): The owner needs to be set for sharing to work
This commit is contained in:
commit
00a6a73f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue