From ff3dbdaad2cf53db7b6de25d0f488982d5ff7fac Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Mon, 4 Sep 2023 21:21:39 +0200 Subject: [PATCH] add proton.ch to the is_proton check (#1863) Co-authored-by: Son NK --- app/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models.py b/app/models.py index 036733be..e4b510ac 100644 --- a/app/models.py +++ b/app/models.py @@ -2576,6 +2576,7 @@ class Mailbox(Base, ModelMixin): self.email.endswith("@proton.me") or self.email.endswith("@protonmail.com") or self.email.endswith("@protonmail.ch") + or self.email.endswith("@proton.ch") or self.email.endswith("@pm.me") ): return True