engine: Reply all needs to reply to sender

If a mail is sent to a mailing list with Reply-To set, we need to reply
to sender too!
This commit is contained in:
Cédric Bellegarde 2023-10-10 18:39:05 +02:00 committed by Niels De Graef
parent b7503f05ce
commit 9e546397a3

View file

@ -55,6 +55,9 @@ namespace Geary.RFC822.Utils {
if (email.to != null && !email_is_from_sender(email, sender_addresses))
new_cc.add_all(email.to.get_all());
if (email.from != null)
new_cc.add_all(email.from.get_all());
if (email.cc != null)
new_cc.add_all(email.cc.get_all());