vmail 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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