This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  15526a3   ignore signature.asc files
15526a3 is described below

commit 15526a35d272ac895bae8da29199f01866159fa0
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Sep 21 06:30:47 2016 -0400

    ignore signature.asc files
---
 www/secmail/models/message.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/secmail/models/message.rb b/www/secmail/models/message.rb
index fb531e5..28a5853 100644
--- a/www/secmail/models/message.rb
+++ b/www/secmail/models/message.rb
@@ -96,7 +96,8 @@ class Message
   end
 
   def attachments
-    @headers[:attachments].map {|attachment| attachment[:name]}
+    @headers[:attachments].map {|attachment| attachment[:name]}.
+      select {|name| name != 'signature.asc'}
   end
 
   #

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Reply via email to