sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 1a1ed5d27a51c608811bb93dac2a320515ac7a7c
parent 2a6ef2af342f1d581a7b0716b2e00ef3c118fc44
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Sat,  1 Feb 2014 17:31:16 +0100

bounce: use first element of array for sensible bounce question

Diffstat:
M lib/sup/modes/thread_view_mode.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/thread_view_mode.rb b/lib/sup/modes/thread_view_mode.rb
@@ -239,7 +239,7 @@ EOS
           else hookcmd
           end + ' ' + to.map { |t| t.email }.join(' ')
 
-    bt = to.size > 1 ? "#{to.size} recipients" : to.to_s
+    bt = to.size > 1 ? "#{to.size} recipients" : to[0].to_s
 
     if BufferManager.ask_yes_or_no "Really bounce to #{bt}?"
       debug "bounce command: #{cmd}"