Properly support mailing lists, with actual testing!
This commit is contained in:
@@ -226,7 +226,8 @@ class DifferentialCommitMessage {
|
||||
|
||||
if ($need_mail) {
|
||||
$mail = id(new PhabricatorMetaMTAMailingList())->loadAllWhere(
|
||||
'email in (%Ls)',
|
||||
'(email in (%Ls)) OR (name IN (%Ls))',
|
||||
$need_mail,
|
||||
$need_mail);
|
||||
$mail = mpull($mail, 'getPHID', 'getName') +
|
||||
mpull($mail, 'getPHID', 'getEmail');
|
||||
|
||||
Reference in New Issue
Block a user