Skip to content

Commit

Permalink
Merge pull request cyrusimap#4719 from cyrusimap/mboxevent_fix
Browse files Browse the repository at this point in the history
mboxevent.c: need to initialize excluded_flags if using idle_notifier
  • Loading branch information
brong authored Nov 4, 2023
2 parents 7eb6afd + 6185bb6 commit 7631f5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imap/mboxevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ EXPORTED int mboxevent_init(void)
const char *options;
int groups;

if (!(notifier = config_getstring(IMAPOPT_EVENT_NOTIFIER))) return 0;
if (!(notifier = config_getstring(IMAPOPT_EVENT_NOTIFIER)) && !idle_notifier)
return 0;

/* some don't want to notify events for some IMAP flags */
options = config_getstring(IMAPOPT_EVENT_EXCLUDE_FLAGS);
Expand Down

0 comments on commit 7631f5a

Please sign in to comment.