diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-07-28 12:31:49 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-07-28 12:32:52 +0200 |
commit | 5f2e99687c3d04f8a4e177995192c4a6f4a27478 (patch) | |
tree | c0f16ede92fa80875b6f67f40fd4705a1fe7afec /imapsync | |
parent | ebeb0ba4c5cf3a6faccade5459db897ab7e50ecb (diff) |
Don't set to a ignored mailbox.
Diffstat (limited to 'imapsync')
-rwxr-xr-x | imapsync | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -987,8 +987,8 @@ sub wait_notifications(;$) { my ($MAILBOX, $IDX); $STH_LIST_INTERRUPTED->execute(); while (defined (my $row = $STH_LIST_INTERRUPTED->fetchrow_arrayref())) { + next unless grep { $_ eq $row->[1] } @MAILBOXES; # skip ignored mailbox ($IDX, $MAILBOX) = @$row; - next unless grep { $_ eq $MAILBOX } @MAILBOXES; msg(undef, "Resuming interrupted sync for $MAILBOX"); my %lUIDs; |