From 57c930bf79e06c485142efeb62ffb1e9d8fe3d3b Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 8 Jun 1998 09:17:25 +0000 Subject: Mutt 0.92.9i. --- flags.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'flags.c') diff --git a/flags.c b/flags.c index 20fc650e..846dbd6a 100644 --- a/flags.c +++ b/flags.c @@ -19,6 +19,7 @@ #include "mutt.h" #include "mutt_curses.h" #include "sort.h" +#include "mx.h" void mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf) { @@ -44,6 +45,12 @@ void mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf) { h->deleted = 0; ctx->deleted--; +/* if you undelete a message, the imap server will probably need to know. */ + if(ctx->magic==M_IMAP) + { + h->changed = 1; + ctx->changed = 1; + } } break; -- cgit v1.2.3