summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-06 14:03:01 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-06 14:03:01 +0200
commiteb6cf749e94e9e186e72fb080d386b161cbe9a0e (patch)
tree40b3014f13222a543979be9ab9096cf5075343e4 /lib/App
parent5a3717ef847517c3e1a903badd31bf12831a7171 (diff)
downloadApp-ImapNotify-eb6cf749e94e9e186e72fb080d386b161cbe9a0e.tar.gz
App-ImapNotify-eb6cf749e94e9e186e72fb080d386b161cbe9a0e.tar.xz
Handle FLAGS status change
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/ImapNotify.pm1
1 files changed, 1 insertions, 0 deletions
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));