This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 113fc894 Ignore ICLA replies
113fc894 is described below
commit 113fc8941e71d10dbff2e9c7dae684beb25358b9
Author: Sebb <[email protected]>
AuthorDate: Wed Jan 31 14:24:29 2024 +0000
Ignore ICLA replies
---
www/secretary/workbench/models/message.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www/secretary/workbench/models/message.rb
b/www/secretary/workbench/models/message.rb
index 35421bca..9d2ceb1b 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -451,7 +451,10 @@ class Message
# we also want to treat CLA requests as attachments
elsif headers['Subject']&.include?('CLA') &&
!headers['Subject'].include?('ICLA') &&
- !headers['Subject'].include?('iCLA')
+ !headers['Subject'].include?('iCLA') &&
+ !headers['Subject'].start_with?('Re: ') &&
+ !headers['Subject'].start_with?('RE: ')
+
headers[:attachments] = [
{name: RAWMESSAGE_ATTACHMENT_NAME,
length: message.size,