sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ec7965e7527fe007d6bb0a5e1c2ae0f27fa35021
parent 1b8a9a5f7d5926bc40b798d2426496e959c769fa
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sat, 26 Sep 2009 10:44:49 -0700

Merge branch 'master' into next

Diffstat:
M lib/sup/message.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -374,12 +374,12 @@ private
     end
 
     ## this probably will never happen
-    if payload.header.downcase.content_type == "application/pgp-signature"
+    if payload.header.content_type.downcase == "application/pgp-signature"
       warn "multipart/signed with payload content type #{payload.header.content_type}"
       return
     end
 
-    if signature.header.downcase.content_type != "application/pgp-signature"
+    if signature.header.content_type.downcase != "application/pgp-signature"
       ## unknown signature type; just ignore.
       #warn "multipart/signed with signature content type #{signature.header.content_type}"
       return