fix 'Reply to all' bugs
[claws.git] / src / compose.c
index 73bace8498bbddf5247750c32173a3c973a0bf3c..e7eac161a7a73a9604fcb020ee8ddc97e1e326cc 100644 (file)
@@ -1764,6 +1764,12 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
                                     ? compose->mailinglist
                                     : msginfo->from ? msginfo->from : ""),
                                     COMPOSE_TO);
                                     ? compose->mailinglist
                                     : msginfo->from ? msginfo->from : ""),
                                     COMPOSE_TO);
+
+       if (compose->replyto && to_all)
+               compose_entry_append
+                       (compose, compose->replyto, COMPOSE_CC);
+
+
        if (compose->account->protocol == A_NNTP) {
                if (ignore_replyto)
                        compose_entry_append
        if (compose->account->protocol == A_NNTP) {
                if (ignore_replyto)
                        compose_entry_append