mirror of
https://github.com/nextcloud/server.git
synced 2026-03-13 22:22:25 -04:00
fix: Show recipient email addresses in share owner notification email
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>
This commit is contained in:
parent
78ce66766b
commit
72b6508d91
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue