Dont add click-button text for plaintext mails
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4b639e2763
commit
983210de2e
|
@ -272,9 +272,10 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$text= $this->l->t('%s shared »%s« with you on behalf of %s.', [$ownerDisplayName, $filename, $initiator]);
|
||||
}
|
||||
|
||||
$text .= ' ' . $this->l->t('Click the button below to open it.');
|
||||
|
||||
$emailTemplate->addBodyText($text);
|
||||
$emailTemplate->addBodyText(
|
||||
$text . ' ' . $this->l->t('Click the button below to open it.'),
|
||||
$text
|
||||
);
|
||||
|
||||
$emailTemplate->addBodyButton(
|
||||
$this->l->t('Open »%s«', [$filename]),
|
||||
|
|
Loading…
Reference in New Issue