Skip to content

Commit 812f6f0

Browse files
authored
Merge pull request #50515 from nextcloud/fix/show-share-recipient-in-mail
fix: Show recipient email addresses in share owner notification email
2 parents 826e3ea + 72b6508 commit 812f6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sharebymail/lib/ShareByMailProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ protected function sendPasswordToOwner(IShare $share, string $password): bool {
567567
$initiator = $this->userManager->get($share->getSharedBy());
568568
$initiatorEMailAddress = ($initiator instanceof IUser) ? $initiator->getEMailAddress() : null;
569569
$initiatorDisplayName = ($initiator instanceof IUser) ? $initiator->getDisplayName() : $share->getSharedBy();
570-
$shareWith = $share->getSharedWith();
570+
$shareWith = implode(', ', $this->getSharedWithEmails($share));
571571

572572
if ($initiatorEMailAddress === null) {
573573
throw new \Exception(

0 commit comments

Comments
 (0)