From 13ce7cecb23fdd0ac17b8e8df91d638cecb3976b Mon Sep 17 00:00:00 2001 From: Phin Wolkwitz Date: Fri, 7 Aug 2026 17:32:40 +0200 Subject: [PATCH] Fix id check --- src/pretix/plugins/sendmail/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/sendmail/models.py b/src/pretix/plugins/sendmail/models.py index 3d6ba9caaa..7cf5569de8 100644 --- a/src/pretix/plugins/sendmail/models.py +++ b/src/pretix/plugins/sendmail/models.py @@ -210,7 +210,7 @@ class ScheduledMail(models.Model): else: p = parent_op # with attendee-email but same as parent's and sent to parent - elif parent_op.attendee_email and p.attendee_email == parent_op.attendee_email and parent_op in sent_to_positions: + elif parent_op.attendee_email and p.attendee_email == parent_op.attendee_email and parent_op.pk in sent_to_positions: continue if p.attendee_email and (p.attendee_email != o.email or not o_sent):