Fix id check

This commit is contained in:
Phin Wolkwitz
2026-08-07 17:32:40 +02:00
parent d031dffc6f
commit 13ce7cecb2
+1 -1
View File
@@ -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):