]> git.cworth.org Git - sup/blobdiff - lib/sup/imap.rb
sort contacts when saving contacts.txt
[sup] / lib / sup / imap.rb
index e785597ab086402712ae5e834eb1be37a7236e85..1d369767c43106fdb19737244f172adbba8f644c 100644 (file)
@@ -176,7 +176,7 @@ class IMAP < Source
 
   def end_offset
     unsynchronized_scan_mailbox
-    @ids.last
+    @ids.last + 1
   end
   synchronized :end_offset