Skip to content

Commit

Permalink
use plain description if config is 'mail_send_plaintext_only' #2306
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Apr 2, 2022
1 parent bb7720c commit 5ad7d88
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 5ad7d88

Please sign in to comment.