diff options
Diffstat (limited to '')
-rw-r--r-- | lib/feed2imap/imap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb index db5df7a..8c4c912 100644 --- a/lib/feed2imap/imap.rb +++ b/lib/feed2imap/imap.rb @@ -103,7 +103,7 @@ class ImapAccount if searchres.length > 0 # we get the flags from the first result and delete everything flags = @connection.fetch(searchres[0], 'FLAGS')[0].attr['FLAGS'] - searchres.each { |m| @connection.store(m, "+FLAGS" [:Deleted]) } + searchres.each { |m| @connection.store(m, "+FLAGS", [:Deleted]) } @connection.expunge end @connection.append(folder, mail, flags) |