Skip to content

Commit

Permalink
Remove circle name from share's recipient's e-mail notification
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
  • Loading branch information
Jerome-Herbinet authored Oct 25, 2023
1 parent 535cdcd commit eb52435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Service/SendMailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ private function generateMailExitingShares(
$emailTemplate->addHeader();

if ($multiple) {
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author]);
} else {
$text = $this->l10n->t('%s shared a file with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared a file with "%s".', [$author]);
}

$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author]);
$emailTemplate->addBodyText(htmlspecialchars($text), $text);

return $emailTemplate;
Expand Down

0 comments on commit eb52435

Please sign in to comment.