From c58e75f49ae49de3a83e5f1d5bab2c97a4e6cf31 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 22 Jun 2022 15:01:03 -0500 Subject: [PATCH] comment email: include username in subject; 'on Manifold' in from label --- functions/src/emails.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/emails.ts b/functions/src/emails.ts index 2f484f36..1ba8ca96 100644 --- a/functions/src/emails.ts +++ b/functions/src/emails.ts @@ -275,8 +275,8 @@ export const sendNewCommentEmail = async ( )}` } - const subject = `Comment on ${question}` - const from = `${commentorName} ` + const subject = `Comment from ${commentorName} on ${question}` + const from = `${commentorName} on Manifold ` if (contract.outcomeType === 'FREE_RESPONSE' && answerId && answerText) { const answerNumber = `#${answerId}`