Hi,
Excerpts from Michael Stapelberg's message of So Sep 20 21:51:38 +0200 2009:
> when opening PGP encrypted mails (MIME), sup crashes with the following
> exception:
Further debugging revealed that this has been introduced in revision
927b7df4b2052a6b3c2ae1f2b44a6bc901315f8d and can be fixed with the following
patch:
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -413,7 +413,7 @@ private
notice, sig, decryptedm = CryptoManager.decrypt payload
if decryptedm # managed to decrypt
children = message_to_chunks(decryptedm, true)
- [notice, sig, children]
+ [notice, sig, children].flatten.compact
else
[notice]
end
Best regards,
Michael
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk