Merge pull request #50069 from michielbdejong/fix-36340

Fix OCM implementation has wrong parameter names
pull/50622/head
Joas Schilling 2025-02-03 10:45:46 +07:00 committed by GitHub
commit 8be4ad75b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

@ -20,6 +20,8 @@ class CloudFederationShare implements ICloudFederationShare {
'ownerDisplayName' => '',
'sharedBy' => '',
'sharedByDisplayName' => '',
'sender' => '',
'senderDisplayName' => '',
'protocol' => []
];
@ -155,6 +157,7 @@ class CloudFederationShare implements ICloudFederationShare {
*/
public function setSharedBy($sharedBy) {
$this->share['sharedBy'] = $sharedBy;
$this->share['sender'] = $sharedBy;
}
/**
@ -166,6 +169,7 @@ class CloudFederationShare implements ICloudFederationShare {
*/
public function setSharedByDisplayName($sharedByDisplayName) {
$this->share['sharedByDisplayName'] = $sharedByDisplayName;
$this->share['senderDisplayName'] = $sharedByDisplayName;
}
/**