From eb6cf749e94e9e186e72fb080d386b161cbe9a0e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 6 Aug 2018 14:03:01 +0200 Subject: Handle FLAGS status change Signed-off-by: Florian Pritz --- lib/App/ImapNotify.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/App/ImapNotify.pm b/lib/App/ImapNotify.pm index c67c903..675d695 100644 --- a/lib/App/ImapNotify.pm +++ b/lib/App/ImapNotify.pm @@ -125,6 +125,7 @@ method loop() { next if $line =~ /\* \d+ RECENT/; next if $line =~ /\* \d+ EXISTS/; next if $line =~ /\* \d+ EXPUNGE/; + next if $line =~ /\* \d+ FLAGS /; last if $line =~ /\* BYE /; confess(sprintf("Got unexpected line: '%s'", $line)); -- cgit v1.2.3-24-g4f1b