add proton.ch to the is_proton check (#1863)

Co-authored-by: Son NK <son@simplelogin.io>
This commit is contained in:
Son Nguyen Kim
2023-09-04 21:21:39 +02:00
committed by GitHub
co-authored by Son NK
parent 7ec7e06c2b
commit ff3dbdaad2
+1
View File
@@ -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