aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornfebe <fenn25.fn@gmail.com>2025-01-28 23:17:59 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-29 13:37:52 +0000
commit8db34f8ecddec62c6de89424f5b4ccf00d98358b (patch)
treea4e9821b7bc8bec0a535e13a0f77d107693f9ade
parent262609bbb44a86c6aad4829f71ea56c1aefd75e7 (diff)
downloadnextcloud-server-backport/50515/stable30.tar.gz
nextcloud-server-backport/50515/stable30.zip
fix: Show recipient email addresses in share owner notification emailbackport/50515/stable30
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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index 3eb445908d9..ebd580deee6 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -565,7 +565,7 @@ class ShareByMailProvider extends DefaultShareProvider 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(