aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornfebe <fenn25.fn@gmail.com>2025-01-28 23:17:59 +0100
committernfebe <fenn25.fn@gmail.com>2025-01-29 12:42:43 +0100
commit72b6508d910e5286eccfd3bf55ff506bc4114695 (patch)
treec3154c01e90576ef8684b42f2b05fd3dabf2a8f2
parent78ce66766b9a3d629f0f6653507e41822dbae021 (diff)
downloadnextcloud-server-fix/show-share-recipient-in-mail.tar.gz
nextcloud-server-fix/show-share-recipient-in-mail.zip
fix: Show recipient email addresses in share owner notification emailfix/show-share-recipient-in-mail
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 5e0637c1a3a..d6a12c83123 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -567,7 +567,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(