fix default-reply-to (closes Feture Request #643656)
[claws.git] / src / compose.c
index 61d88ef7c0ebee4126bb92740dbc560058abed08..7c08e2a0185e108f52de25c03364398163c9e8b3 100644 (file)
@@ -1660,7 +1660,8 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
        g_return_if_fail(msginfo != NULL);
 
        if (compose->account->protocol != A_NNTP || followup_and_reply_to) {
-               if (!compose->replyto && to_ml && compose->ml_post)
+               if (!compose->replyto && to_ml && compose->ml_post
+                   && !(msginfo->folder && msginfo->folder->prefs->enable_default_reply_to))
                        compose_entry_append(compose,
                                           compose->ml_post,
                                           COMPOSE_TO);