Skip to content

Commit

Permalink
force mail check on current mailbox after <imap-fetch-mail>
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli authored and flatcap committed Nov 4, 2023
1 parent 24f8644 commit 992c793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imap/imap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,8 @@ enum MxStatus imap_check_mailbox(struct Mailbox *m, bool force)

mdata->check_status = IMAP_OPEN_NO_FLAGS;

if (force)
mx_mbox_reset_check();
return check;
}

Expand Down

0 comments on commit 992c793

Please sign in to comment.