Skip to content

Commit

Permalink
Maintenance: Update dependency net-imap to v0.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
renovatebot authored and mgruner committed Dec 13, 2023
1 parent 2fdc873 commit 54a0083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -351,7 +351,7 @@ GEM
time
net-http (0.4.0)
uri
net-imap (0.4.7)
net-imap (0.4.8)
date
net-protocol
net-ldap (0.18.0)
Expand Down
3 changes: 1 addition & 2 deletions app/models/channel/driver/imap.rb
Expand Up @@ -215,10 +215,9 @@ def fetch(options, channel, check_type = '', verify_string = '')
# reverse message order to increase performance
if check_type == 'verify'
Rails.logger.info "verify mode, fetch no emails #{verify_string}"
message_ids.reverse!

# check for verify message
message_ids.each do |message_id|
message_ids.reverse_each do |message_id|

message_meta = nil
timeout(FETCH_METADATA_TIMEOUT) do
Expand Down

0 comments on commit 54a0083

Please sign in to comment.