/* Incorporate new messages */
num_new = maildir_move_to_mailbox(m, &md);
if (num_new > 0)
+ {
mutt_mailbox_changed(m, MBN_INVALID);
+ m->changed = true;
+ }
mutt_buffer_pool_release(&buf);
/* Incorporate new messages */
num_new = maildir_move_to_mailbox(m, &md);
if (num_new > 0)
+ {
mutt_mailbox_changed(m, MBN_INVALID);
+ m->changed = true;
+ }
if (occult)
return MUTT_REOPENED;
mutt_folder_hook(path, NULL);
#endif
struct Mailbox *m_fcc = mx_path_resolve(path);
+ bool old_append = m_fcc->append;
struct Context *ctx_fcc = mx_mbox_open(m_fcc, MUTT_APPEND | MUTT_QUIET);
if (!ctx_fcc)
{
set_noconv_flags(e->content, false);
done:
+ m_fcc->append = old_append;
#ifdef RECORD_FOLDER_HOOK
/* We ran a folder hook for the destination mailbox,
* now we run it for the user's current mailbox */