sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 7620efa754df5427adee1556742589b216e2adbb
parent ecfb70dbaf1dfb358b04c7682a4a7dad0df7a2f9
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date:   Thu,  3 Jun 2010 20:35:42 -0700

Merge branch 'maildir' into next

Diffstat:
M lib/sup/poll.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
@@ -158,6 +158,7 @@ EOS
           m = Message.build_from_source source, args[:info]
           old_m = Index.build_message m.id
           m.labels += args[:labels]
+          m.labels.delete :inbox  if source.archived?
           m.labels.delete :unread if source.read?
           m.labels.delete :unread if m.source_marked_read? # preserve read status if possible
           m.labels.each { |l| LabelManager << l }