sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 62a2714b18617ab4bbc85a551640c05ece74c354
parent 493dec4380a629988443ee34ff564ca258a808de
Author: Damien Leone <damien.leone@fensalir.fr>
Date:   Fri,  9 Jul 2010 17:23:58 +0200

poll: consider all messages when searching for one in the "delete" case

Diffstat:
M lib/sup/poll.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
@@ -194,7 +194,7 @@ EOS
             UpdateManager.relay self, :added, m
           end
         when :delete
-          Index.each_message :location => [source.id, args[:info]] do |m|
+          Index.each_message({:location => [source.id, args[:info]]}, false) do |m|
             m.locations.delete Location.new(source, args[:info])
             Index.sync_message m, false
             if m.locations.size == 0