Skip to content

Commit 066ffc5

Browse files
nfebeAndyScherzinger
authored andcommitted
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>
1 parent e8844ca commit 066ffc5

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)