int changed = h->changed;
int deleted = ctx->deleted;
int tagged = ctx->tagged;
+ int flagged = ctx->flagged;
if (ctx->readonly && flag != M_TAG)
return; /* don't modify anything if we are read-only */
* search results so that any future search will match the current status
* of this message and not what it was at the time it was last searched.
*/
- if (h->searched
- && (changed != h->changed || deleted != ctx->deleted
- || tagged != ctx->tagged))
+ if (h->searched && (changed != h->changed || deleted != ctx->deleted ||
+ tagged != ctx->tagged || flagged != ctx->flagged))
h->searched = 0;
sidebar_draw (0);
}