Browse files

Fixes #349 an inverted condition on imap open read_only

  • Loading branch information...
1 parent 47e288e commit 219717c453d1b275ab6235cb1909e49eaabba409 @byteforscher byteforscher committed Feb 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mail/network/retriever_methods/imap.rb
@@ -63,7 +63,7 @@ def find(options={}, &block)
options = validate_options(options)
start do |imap|
- options[:read_only] ?[:mailbox]) : imap.examine(options[:mailbox])
+ options[:read_only] ? imap.examine(options[:mailbox]) :[:mailbox])
message_ids = imap.uid_search(options[:keys])
message_ids.reverse! if options[:what].to_sym == :last

2 comments on commit 219717c

Can you release 2.4.5 soon with this fix?

Any chance of a 2.4.5 soon? It's been six months now...

This just bit us very badly and it took a while to find this commit. We're going to have to monkey patch for now.

Please sign in to comment.