Browse Source

Maintenance: Update dependency net-imap to v0.4.8

renovatebot 1 year ago
parent
commit
54a00836d5
2 changed files with 2 additions and 3 deletions
  1. 1 1
      Gemfile.lock
  2. 1 2
      app/models/channel/driver/imap.rb

+ 1 - 1
Gemfile.lock

@@ -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)

+ 1 - 2
app/models/channel/driver/imap.rb

@@ -215,10 +215,9 @@ example
     # 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