Skip to content

Commit

Permalink
Merge pull request #50537 from nextcloud/backport/50515/stable31
Browse files Browse the repository at this point in the history
[stable31] fix: Show recipient email addresses in share owner notification email
  • Loading branch information
AndyScherzinger authored Jan 29, 2025
2 parents e8844ca + 066ffc5 commit ceadae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sharebymail/lib/ShareByMailProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ protected function sendPasswordToOwner(IShare $share, string $password): bool {
$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(
Expand Down

0 comments on commit ceadae2

Please sign in to comment.