mailto: cut body length

This commit is contained in:
Yuri Kuznetsov
2024-02-06 08:30:21 +02:00
parent 9d933a5d95
commit 3efe0a0fe0
+4
View File
@@ -93,6 +93,10 @@ class MailtoHelper {
if (attributes.isHtml) {
params.body = this.htmlToPlain(params.body);
}
if (params.body.length > 700) {
params.body = params.body.substring(0, 700) + '...';
}
}
if (attributes.inReplyTo) {