Merge pull request #2615 from whowillcare/master

Time line is missing delete/edit comments
This commit is contained in:
Lauri Ojansivu 2019-08-14 19:36:39 +03:00 committed by GitHub
commit d295cb8385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -13,9 +13,9 @@ Meteor.startup(() => {
const lan = user.getLanguage();
const subject = TAPi18n.__(title, params, lan); // the original function has a fault, i believe the title should be used according to original author
const existing = user.getEmailBuffer().length > 0;
const text = `${existing ? `\n${subject}\n` : ''}${
const text = `${existing ? `<br/>\n${subject}<br/>\n` : ''}${
params.user
} ${TAPi18n.__(description, quoteParams, lan)}\n${params.url}`;
} ${TAPi18n.__(description, quoteParams, lan)}<br/>\n${params.url}`;
user.addEmailBuffer(text);