vmail 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail/imap_client.rb +2 -2
- data/lib/vmail/showing_headers.rb +1 -1
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail/imap_client.rb
CHANGED
@@ -230,10 +230,10 @@ module Vmail
|
|
230
230
|
# gets 100 messages prior to id
|
231
231
|
def more_messages
|
232
232
|
log "Getting more_messages"
|
233
|
-
log "
|
233
|
+
log "Old start_index: #{@start_index}"
|
234
234
|
max = @start_index - 1
|
235
235
|
@start_index = [(max + 1 - @limit), 1].max
|
236
|
-
log "
|
236
|
+
log "New start_index: #{@start_index}"
|
237
237
|
fetch_ids = search_query? ? @ids[@start_index..max] : (@start_index..max).to_a
|
238
238
|
log fetch_ids.inspect
|
239
239
|
message_ids = fetch_and_cache_headers(fetch_ids)
|
data/lib/vmail/version.rb
CHANGED