Project

General

Profile

« Previous | Next » 

Revision c3722b8d

Added by Marc Dequènes almost 11 years ago

[fix] the signature can be an attachment or not (from ruby-mail's point of view), it does not matter (depends on the MUA's preferences)

View differences:

lib/mail/gpg.rb
end
def pgp_signature_part
parts.detect { |p| p.mime_type == "application/pgp-signature" && !p.attachment? }
parts.detect { |p| p.mime_type == "application/pgp-signature" }
end
def pgp_signed_part

Also available in: Unified diff