Skip to content

Commit 3290ec3

Browse files
authored
Merge pull request #50536 from nextcloud/backport/50515/stable30
[stable30] fix: Show recipient email addresses in share owner notification email
2 parents 262609b + 8db34f8 commit 3290ec3

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
@@ -565,7 +565,7 @@ protected function sendPasswordToOwner(IShare $share, string $password): bool {
565565
$initiator = $this->userManager->get($share->getSharedBy());
566566
$initiatorEMailAddress = ($initiator instanceof IUser) ? $initiator->getEMailAddress() : null;
567567
$initiatorDisplayName = ($initiator instanceof IUser) ? $initiator->getDisplayName() : $share->getSharedBy();
568-
$shareWith = $share->getSharedWith();
568+
$shareWith = implode(', ', $this->getSharedWithEmails($share));
569569

570570
if ($initiatorEMailAddress === null) {
571571
throw new \Exception(

0 commit comments

Comments
 (0)