From 62061f7d5c676f151bbb017d9a96e12a9441d722 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Tue, 1 Oct 2024 00:06:05 +0200 Subject: [PATCH] Make footer random This should prevent clients like gmail from collapsing the emails, in cases where they seem similar --- backend-node/emails/base.tsx | 58 +++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/backend-node/emails/base.tsx b/backend-node/emails/base.tsx index a55871d01..41019049f 100644 --- a/backend-node/emails/base.tsx +++ b/backend-node/emails/base.tsx @@ -85,36 +85,38 @@ export const Base = ({ {children}
- - {footerMode === "developer_invite" && ( - - You are receiving this email because someone has invited you - to become a developer of the app{" "} - - {appNameAndId} - {" "} - on Flathub. - - )} + + + {footerMode === "developer_invite" && ( + + You are receiving this email because someone has invited you + to become a developer of the app{" "} + + {appNameAndId} + {" "} + on Flathub. + + )} - {footerMode === "developer_app" && ( - - You are receiving this email because you are a maintainer of - the app{" "} - - {appNameAndId} - {" "} - on Flathub. - - )} + {footerMode === "developer_app" && ( + + You are receiving this email because you are a maintainer of + the app{" "} + + {appNameAndId} + {" "} + on Flathub. + + )} - {footerMode === "default" && ( - - You are receiving this email because you have an account on - Flathub. - - )} - + {footerMode === "default" && ( + + You are receiving this email because you have an account on + Flathub. + + )} + +