From 82698fa97ab75aff8aadd934f03264aed22ad682 Mon Sep 17 00:00:00 2001 From: lnu Date: Sat, 14 May 2005 08:55:38 +0000 Subject: fix git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@28 f70e237a-67f3-0310-a06c-d2b8a7116972 --- lib/feed2imap/imap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2