Skip to content

Commit 72b6508

Browse files
committed
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 <[email protected]>
1 parent 78ce667 commit 72b6508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sharebymail/lib/ShareByMailProvider.php

Lines changed: 1 addition & 1 deletion
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)