mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #50537 from nextcloud/backport/50515/stable31
[stable31] fix: Show recipient email addresses in share owner notification email
This commit is contained in:
commit
ceadae2e19
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ class ShareByMailProvider extends DefaultShareProvider implements IShareProvider
|
|||
$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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue