black
This commit is contained in:
parent
be7ae3021a
commit
421c121d59
|
@ -1033,7 +1033,9 @@ def generate_reply_email(contact_email: str, user: User) -> str:
|
||||||
|
|
||||||
|
|
||||||
def is_reverse_alias(address: str) -> bool:
|
def is_reverse_alias(address: str) -> bool:
|
||||||
return address.endswith(f"@{EMAIL_DOMAIN}") and (address.startswith("reply+") or address.startswith("ra+"))
|
return address.endswith(f"@{EMAIL_DOMAIN}") and (
|
||||||
|
address.startswith("reply+") or address.startswith("ra+")
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# allow also + and @ that are present in a reply address
|
# allow also + and @ that are present in a reply address
|
||||||
|
|
Loading…
Reference in a new issue