vmail 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail/imap_client.rb +4 -0
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/lib/vmail/imap_client.rb
CHANGED
@@ -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]
|
data/lib/vmail/version.rb
CHANGED