sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 50b4a8af157092723a8c96d66d89e1065b84f21d
parent ad18273c77211f73a36fd3ef097da6ea41b24659
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Thu, 20 Sep 2007 06:45:08 +0000

mbox loader bugfix

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

Diffstat:
M lib/sup/mbox/loader.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/mbox/loader.rb b/lib/sup/mbox/loader.rb
@@ -10,7 +10,7 @@ class Loader < Source
   ## uri_or_fp is horrific. need to refactor.
   def initialize uri_or_fp, start_offset=nil, usual=true, archived=false, id=nil, labels=[]
     @mutex = Mutex.new
-    @labels = (labels || []).freeze
+    @labels = ((labels || []) + [:unread]).freeze
 
     case uri_or_fp
     when String