vmail 2.4.8 → 2.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,7 @@ module Vmail
110
110
  def get_highest_message_id
111
111
  # get highest message ID
112
112
  res = @imap.search(['ALL'])
113
- if res
113
+ if res && res[-1]
114
114
  @num_messages = res[-1]
115
115
  log "Highest seqno: #@num_messages"
116
116
  else
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.4.8'
2
+ VERSION = '2.4.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.8
4
+ version: 2.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: