aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2025-02-03 10:45:46 +0100
committerGitHub <noreply@github.com>2025-02-03 10:45:46 +0100
commit8be4ad75b3734a692c6d07db3a0d2fc37288a102 (patch)
treec4f4abcbb6def8e8620a5212130ae9bef45ab700 /lib
parent87fd982a2d6541701674d48ae8caffa790cffd7b (diff)
parent995dfd1a57bf6bb0474a61aac044a56f7b905f90 (diff)
downloadnextcloud-server-8be4ad75b3734a692c6d07db3a0d2fc37288a102.tar.gz
nextcloud-server-8be4ad75b3734a692c6d07db3a0d2fc37288a102.zip
Merge pull request #50069 from michielbdejong/fix-36340
Fix OCM implementation has wrong parameter names
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Federation/CloudFederationShare.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Federation/CloudFederationShare.php b/lib/private/Federation/CloudFederationShare.php
index 22e36d87312..3ec53d89ed3 100644
--- a/lib/private/Federation/CloudFederationShare.php
+++ b/lib/private/Federation/CloudFederationShare.php
@@ -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;
}
/**