sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 856b51815234b574205a7091e2e9c37da07f9a2c
parent ee34231b2932ae29c7b9c93f1198f33c9fab8372
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Sat, 10 Feb 2007 04:14:49 +0000

another draft bugfix


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@311 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M doc/TODO | 2 +-
M lib/sup/draft.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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)
diff --git a/lib/sup/draft.rb b/lib/sup/draft.rb
@@ -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