1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-11 11:45:02 -05:00

cleanup message strings

This commit is contained in:
Tankred Hase 2014-02-06 00:34:31 +01:00
parent cb69514197
commit 2709b42c22
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ define(function(require) {
fallbackSubject: '(no subject)',
invitationSubject: 'Invitation to a private conversation',
invitationMessage: 'I would like to invite you to a private conversation!\n\nIn order to read my encrypted message please install the Whiteout Mail application. This application is used to read and write messages securely with strong encryption applied.\n\nGo to the Whiteout Networks homepage to learn more and to download the application: https://whiteout.io',
message: 'Hi,\n\nthis is a private conversation. To read my encrypted message below, simply open it in Whiteout Mail.\n\nOpen Whiteout Mail: https://chrome.google.com/webstore/detail/jjgghafhamholjigjoghcfcekhkonijg',
message: 'Hi,\n\nthis is a private conversation. To read my encrypted message below, simply open it in Whiteout Mail.\n\nOpen Whiteout Mail: https://chrome.google.com/webstore/detail/jjgghafhamholjigjoghcfcekhkonijg\n\n',
cryptPrefix: '-----BEGIN PGP MESSAGE-----',
cryptSuffix: '-----END PGP MESSAGE-----',
signature: 'Sent securely from Whiteout Mail',

View File

@ -935,7 +935,7 @@ define(function(require) {
// mime encode, sign, encrypt and send email via smtp
self._pgpMailer.send({
encrypt: true,
cleartextMessage: str.message + '\n\n',
cleartextMessage: str.message,
mail: email,
publicKeysArmored: email.receiverKeys
}, callback);