whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Some people are subscribed as uid@minotaur.apache.org
Date Fri, 08 Mar 2019 17:48:24 GMT
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 bf2278b  Some people are subscribed as uid@minotaur.apache.org
bf2278b is described below

commit bf2278b8a3ad53fcb9d3dbe1c5a931fea7e21e77
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Mar 8 17:48:23 2019 +0000

    Some people are subscribed as uid@minotaur.apache.org
---
 lib/whimsy/asf/mail.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index b55b47c..09a1f35 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -166,6 +166,8 @@ module ASF
         if %w(gmail.com googlemail.com).include? dom
           return name.sub(/\+.*/,'').gsub('.','').downcase + '@' + dom
         else
+          # Effectively the same:
+          dom = 'apache.org' if dom == 'minotaur.apache.org'
           # only downcase the domain (done above)
           return name + '@' + dom
         end


Mime
View raw message