Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]>
  • Loading branch information
nfebe authored and AndyScherzinger committed Jan 29, 2025
commit 066ffc5fb70ef1c78dfec6240fec4736827638b4
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
Loading