From 8ab2f2f3523483d913e4dff6e9c243d7719fc4a7 Mon Sep 17 00:00:00 2001 From: Erich Hasl Date: Thu, 24 Sep 2020 22:04:34 +0200 Subject: [PATCH] fix typo in message submit --- jdav_web/mailer/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdav_web/mailer/models.py b/jdav_web/mailer/models.py index f169498..0d4e429 100644 --- a/jdav_web/mailer/models.py +++ b/jdav_web/mailer/models.py @@ -141,7 +141,7 @@ class Message(models.Model): reply_to_unfiltered.extend([ml.email for ml in self.reply_to_email_address.all()]) # remove sending address from reply-to field (probably unnecessary since it's removed by # the mail provider anyways) - reply_to = [mail for mail in reply_to if mail != SENDING_ADDRESS ] + reply_to = [mail for mail in reply_to_unfiltered if mail != SENDING_ADDRESS ] try: success = send(self.subject, get_content(self.content), SENDING_ADDRESS,