Skip to content

Commit

Permalink
Pass domain portion for address hash
Browse files Browse the repository at this point in the history
  • Loading branch information
say-yawn committed Aug 12, 2021
1 parent 2e08f7a commit 10d63fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emails/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def _get_address(to_address, local_portion, domain_portion):
except RelayAddress.DoesNotExist:
try:
DeletedAddress.objects.get(
address_hash=address_hash(local_portion)
address_hash=address_hash(local_portion, domain=domain_portion)
)
incr_if_enabled('email_for_deleted_address', 1)
# TODO: create a hard bounce receipt rule in SES
Expand Down

0 comments on commit 10d63fc

Please sign in to comment.