From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Fri, 04 Sep 2009 07:34:11 -0700 Subject: [sup-talk] [PATCH] decrypt returns 3 elem array if gpg is unavailable In-Reply-To: <1251995933-2252-1-git-send-email-mzulak@gmail.com> References: <1251995933-2252-1-git-send-email-mzulak@gmail.com> Message-ID: <1252074791-sup-9657@masanjin.net> Reformatted excerpts from Matt Zulak's message of 2009-09-03: > CryptoManager's decrypt method returns a CryptoNotice if the GPG > binary can't be found on the path; however, the Message class expects > a 3 element array with either a RMail::Message or nil at index 0. Thanks. I've fixed this in a slightly different way, by returning the notice as the first element. I think the code is a little easier to read that way. Let me know if it doesn't work. -- William