Skip to content

Commit

Permalink
Merge pull request #2346 from nextcloud/fix/emails
Browse files Browse the repository at this point in the history
use plain description if config is  'mail_send_plaintext_only' #2306
  • Loading branch information
dartcafe committed Apr 2, 2022
2 parents 6e114d9 + 5ad7d88 commit d44ef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model/Mail/InvitationMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function buildBody(): void {
));
}

$this->emailTemplate->addBodyText($this->getRichDescription(), $this->getRichDescription());
$this->emailTemplate->addBodyText($this->getRichDescription(), $this->poll->getDescription());

if ($this->getButtonText() && $this->url) {
$this->emailTemplate->addBodyButton($this->getButtonText(), $this->url);
Expand Down

0 comments on commit d44ef1c

Please sign in to comment.