diff options
author | nfebe <fenn25.fn@gmail.com> | 2025-01-28 23:17:59 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-01-29 13:36:47 +0000 |
commit | 37a3e5223758ef21da85ea1072d8fd61c6077cfc (patch) | |
tree | c97f1be9a4b9131037b9efcaac521537d4ad8000 | |
parent | 7312c92efedd72a0b3b608bc09ef7909be6ec1bb (diff) | |
download | nextcloud-server-backport/50515/stable29.tar.gz nextcloud-server-backport/50515/stable29.zip |
fix: Show recipient email addresses in share owner notification emailbackport/50515/stable29
Previously, the share owner notification email did not display the recipient email addresses,
making it difficult for the owner to know who the share was sent to.
This fix ensures that the recipient email addresses are included in the notification email.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index f05dae9752a..905fccae3d2 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -519,7 +519,7 @@ class ShareByMailProvider implements IShareProvider { $initiator = $this->userManager->get($share->getSharedBy()); $initiatorEMailAddress = ($initiator instanceof IUser) ? $initiator->getEMailAddress() : null; $initiatorDisplayName = ($initiator instanceof IUser) ? $initiator->getDisplayName() : $share->getSharedBy(); - $shareWith = $share->getSharedWith(); + $shareWith = implode(', ', $this->getSharedWithEmails($share)); if ($initiatorEMailAddress === null) { throw new \Exception( |