vmail 1.1.4 → 1.1.5

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.
@@ -417,6 +417,10 @@ module Vmail
417
417
  return @current_message
418
418
  end
419
419
 
420
+ if index >= current_message_list_cache.size
421
+ index -= 1
422
+ log "index beyond bounds, setting index to #{index}"
423
+ end
420
424
  prefetch_adjacent(index) # TODO mark these as unread
421
425
 
422
426
  envelope_data = current_message_list_cache[index]
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 4
9
- version: 1.1.4
8
+ - 5
9
+ version: 1.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi