From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael+sup@stapelberg.de (Michael Stapelberg) Date: Fri, 25 Sep 2009 21:08:52 +0200 Subject: [sup-talk] Bug: Opening PGP encrypted mails fails with latest revision In-Reply-To: <1253476236-sup-9371@midna.zekjur.net> References: <1253476236-sup-9371@midna.zekjur.net> Message-ID: <1253905662-sup-1750@midna.zekjur.net> 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