You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/03/08 17:48:24 UTC

[whimsy] branch master updated: Some people are subscribed as uid@minotaur.apache.org

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 <se...@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