mirror of
https://github.com/nextcloud/server.git
synced 2026-03-28 21:33:40 -04:00
Merge pull request #55902 from nextcloud/backport/55827/stable32
[stable32] fix(ocm-sharing): The owner needs to be set for sharing to work
This commit is contained in:
commit
eeb41bef6d
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