If users are on the email to Phabricator, do not send them the Phabricator reply.

Summary: When we receive an email, figure out if any of the other tos and ccs are users. If they are, pass their phids through the stach as "exclude phids" and exclude them from getting the email.

Test Plan: used the various applications (audit, differential, maniphest) and noted emails were sent as expected.

Reviewers: epriestley, vrana

Reviewed By: vrana

CC: aran, Korvin, vrana

Maniphest Tasks: T1676

Differential Revision: https://secure.phabricator.com/D3645
This commit is contained in:
Bob Trahan
2012-10-10 10:18:23 -07:00
parent b605878792
commit d9c6e07f2c
58 changed files with 302 additions and 292 deletions

View File

@@ -80,7 +80,7 @@ final class PhabricatorProjectMembersEditController
if ($xactions) {
$editor = new PhabricatorProjectEditor($project);
$editor->setUser($user);
$editor->setActor($user);
$editor->applyTransactions($xactions);
}