mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-18 19:58:32 +02:00
Fix ironic ticket creation loop when submitter email == queue email
This commit is contained in:
@@ -613,6 +613,8 @@ class Ticket(models.Model):
|
||||
if dont_send_to is not None:
|
||||
recipients.update(dont_send_to)
|
||||
|
||||
recipients.add(self.queue.email_address)
|
||||
|
||||
def should_receive(email):
|
||||
return email and email not in recipients
|
||||
|
||||
|
Reference in New Issue
Block a user