mirror of
https://github.com/pretix/pretix.git
synced 2026-02-25 09:52:27 +00:00
Fix marking invoices transmitted for emails with uppercase letters (#5885)
This commit is contained in:
committed by
GitHub
parent
d7b7d3cc5f
commit
e2cb83ce28
@@ -519,6 +519,7 @@ def mail_send_task(self, **kwargs) -> bool:
|
||||
)
|
||||
except InvoiceAddress.DoesNotExist:
|
||||
pass
|
||||
expected_recipients = {e.lower() for e in expected_recipients if e}
|
||||
if any(t in expected_recipients for t in outgoing_mail.to):
|
||||
invoices_to_mark_transmitted.append(inv)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user