diff --git a/functions/src/emails.ts b/functions/src/emails.ts index 00696186..0ded7b7d 100644 --- a/functions/src/emails.ts +++ b/functions/src/emails.ts @@ -223,6 +223,10 @@ export const sendNewAnswerEmail = async ( ) => { // Send to just the creator for now. const { creatorId: userId } = contract + + // Don't send the creator's own answers. + if (answer.userId === userId) return + const privateUser = await getPrivateUser(userId) if ( !privateUser ||