still return custom alias option when user runs out of custom alias quota

This commit is contained in:
Son NK 2019-12-08 16:22:42 +01:00
parent df3838480d
commit f37a155c1f

View file

@ -56,7 +56,6 @@ def options():
ret["recommendation"] = {"alias": alias.email, "hostname": hostname}
# custom alias suggestion and suffix
if user.can_create_new_custom_alias():
ret["custom"] = {}
if hostname:
# keep only the domain name of hostname, ignore TLD and subdomain