sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 0830af54e3a1383d9c5112657a070bb54de976b5
parent 723e222e5143badf905bc80034f0f86690378e6f
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Mon, 17 Aug 2009 19:28:35 -0700

bugfix:relay event when new message is added to index

made this fancy method, and then i forgot to use it!

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
@@ -107,7 +107,7 @@ EOS
             end
           else
             yield "Found new message at #{m.source_info} with labels #{m.labels.to_a * ','}"
-            Index.add_message m
+            add_new_message m
             num += 1
             from_and_subj << [m.from && m.from.longname, m.subj]
             if (m.labels & [:inbox, :spam, :deleted, :killed]) == Set.new([:inbox])