diff options
author | Michiel de Jong <michiel@pondersource.com> | 2025-01-07 15:30:42 +0100 |
---|---|---|
committer | Michiel de Jong <michiel@pondersource.com> | 2025-01-29 20:43:10 +0100 |
commit | dacb1d94d030f6da3811898a0078835f70d8f862 (patch) | |
tree | b2f06d86761924e10a93bc87ee4987b5e9710a94 | |
parent | bbba8b4fe2afef2f207611dc7eec818463b581ba (diff) | |
download | nextcloud-server-dacb1d94d030f6da3811898a0078835f70d8f862.tar.gz nextcloud-server-dacb1d94d030f6da3811898a0078835f70d8f862.zip |
fix: copy sharedBy[DisplayName] to sender[DisplayName], fixes #36340
Signed-off-by: Michiel de Jong <michiel@pondersource.com>
-rw-r--r-- | lib/private/Federation/CloudFederationShare.php | 4 |
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; } /** |