We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff6e56 commit cfdb6c9Copy full SHA for cfdb6c9
src/main/scala/fr/brouillard/gitbucket/announce/service/AnnounceService.scala
@@ -33,9 +33,13 @@ trait AnnounceService {
33
getAccountByGroupName(groupAccount)
34
}
35
userMailAddress.collect { case x
36
- if !x.isGroupAccount && x.mailAddress.nonEmpty && EmailAddress.isValid(x.mailAddress) => x.mailAddress
+ if !x.isGroupAccount && x.mailAddress.nonEmpty =>
37
+ x.mailAddress :: getAccountExtraMailAddresses(x.userName)
38
- }.distinct.toList
39
+ }
40
+ .flatten
41
+ .filter(mail => EmailAddress.isValid(mail))
42
+ .distinct
43
+ .toList
44
-
45
0 commit comments