Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created July 17, 2010 20:33
Show Gist options
  • Save jackdempsey/479836 to your computer and use it in GitHub Desktop.
Save jackdempsey/479836 to your computer and use it in GitHub Desktop.
diff --git a/vendor/plugins/fetcher/lib/fetcher/imap.rb b/vendor/plugins/fetcher/lib/fetcher/imap.rb
index c0d0c72..fe8d3d3 100644
--- a/vendor/plugins/fetcher/lib/fetcher/imap.rb
+++ b/vendor/plugins/fetcher/lib/fetcher/imap.rb
@@ -52,7 +52,8 @@ module Fetcher
handle_bogus_message(msg)
end
# Mark message as deleted
- @connection.uid_store(uid, "+FLAGS", [:Seen, :Deleted])
+ #@connection.uid_store(uid, "+FLAGS", [:Seen, :Deleted])
+ @connection.uid_store(uid, "-FLAGS", [:Seen])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment