diff --git a/lib/private/Federation/CloudFederationShare.php b/lib/private/Federation/CloudFederationShare.php index 22e36d8731223..3ec53d89ed33b 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 @@ public function setOwnerDisplayName($ownerDisplayName) { */ public function setSharedBy($sharedBy) { $this->share['sharedBy'] = $sharedBy; + $this->share['sender'] = $sharedBy; } /** @@ -166,6 +169,7 @@ public function setSharedBy($sharedBy) { */ public function setSharedByDisplayName($sharedByDisplayName) { $this->share['sharedByDisplayName'] = $sharedByDisplayName; + $this->share['senderDisplayName'] = $sharedByDisplayName; } /**