sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 69b1b6b5b5a6a749e8b5f2aa78275e645bbed043
parent 9dff67940072c5407cdf6ca9e8624f24d100a16e
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Mon, 12 Nov 2007 17:59:03 +0000

uniqueify labels before writing to index

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

Diffstat:
M lib/sup/index.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
@@ -178,7 +178,7 @@ EOS
       :date => m.date.to_indexable_s,
       :body => m.content,
       :snippet => m.snippet,
-      :label => m.labels.join(" "),
+      :label => m.labels.uniq.join(" "),
       :from => m.from ? m.from.email : "",
       :to => (m.to + m.cc + m.bcc).map { |x| x.email }.join(" "),
       :subject => wrap_subj(Message.normalize_subj(m.subj)),