diff options
author | nfebe <fenn25.fn@gmail.com> | 2025-01-28 23:17:59 +0100 |
---|---|---|
committer | F. E Noel Nfebe <fenn25.fn@gmail.com> | 2025-01-29 14:46:56 +0100 |
commit | e5ffcb77bfe508aa3f376e5389181306eea23b9c (patch) | |
tree | a78dc57282f50bdbde8eba981aff68dec809a6e8 | |
parent | ef0d2eae314d3aad0463415b99ef924950a210da (diff) | |
download | nextcloud-server-e5ffcb77bfe508aa3f376e5389181306eea23b9c.tar.gz nextcloud-server-e5ffcb77bfe508aa3f376e5389181306eea23b9c.zip |
fix: Show recipient email addresses in share owner notification emailbackport/50515/stable31
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 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( |