]> git.notmuchmail.org Git - sup/commitdiff
another draft bugfix
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 10 Feb 2007 04:14:49 +0000 (04:14 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 10 Feb 2007 04:14:49 +0000 (04:14 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@311 5c8cc53c-5e98-4d25-b20a-d8db53a31250

doc/TODO
lib/sup/draft.rb

index 1fb135527d9b69449dfb295fda8882f885a6bd79..9c47c4054f9399c3029afaf5941d6f20f79c6bbe 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,6 +1,5 @@
 for next release
 ----------------
-bugfix: STILL new messages, drafts sometimes not showing up in inbox
 make 'a' archive in thread-view-mode
 message attachments
 warnings: top-posting, attachments
@@ -35,6 +34,7 @@ toggle wrapping
 
 done
 ----
+x bugfix: STILL new messages, drafts sometimes not showing up in inbox
 x bugfix: killed threads
 x bugfix: resuming a draft asks before discard
 x add a flag to sup-import to force the creation of a new source (see http://rubyforge.org/forum/forum.php?thread_id=10973&forum_id=10340)
index ce292bef610b9ce17c875bc299f532d7e48c2dfe..5974b5752180f5557c37dd5e2a89ce9a9df54639 100644 (file)
@@ -58,7 +58,7 @@ class DraftLoader < Source
     ids = get_ids
     ids.each do |id|
       if id >= cur_offset
-        self.cur_offset = id
+        self.cur_offset = id + 1
         yield [id, [:draft, :inbox]]
       end
     end