8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Add reply_to field on tickets comment

This commit is contained in:
Gabriel Detraz 2020-08-06 19:24:09 +02:00 committed by chirac
parent ed9c8fb333
commit 7b89bf2e88

View file

@ -272,6 +272,7 @@ class CommentTicket(AclMixin, models.Model):
template.render(context), template.render(context),
GeneralOption.get_cached_value("email_from"), GeneralOption.get_cached_value("email_from"),
[to_addr, self.parent_ticket.get_mail], [to_addr, self.parent_ticket.get_mail],
reply_to=[to_addr, self.parent_ticket.get_mail],
) )
send_mail_object(mail_to_send, self.request) send_mail_object(mail_to_send, self.request)