Page MenuHomePhabricator

Set from name when $can_send_as_user is true
ClosedPublic

Authored by sophiebits on Apr 4 2014, 12:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 9:27 AM
Unknown Object (File)
Sat, Dec 7, 1:47 PM
Unknown Object (File)
Thu, Dec 5, 7:52 AM
Unknown Object (File)
Tue, Dec 3, 5:18 PM
Unknown Object (File)
Fri, Nov 29, 2:41 PM
Unknown Object (File)
Sun, Nov 24, 7:25 PM
Unknown Object (File)
Thu, Nov 21, 8:22 AM
Unknown Object (File)
Nov 16 2024, 8:33 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP133772d7eb1f: Set from name when $can_send_as_user is true
Test Plan

Crossed fingers.

Diff Detail

Repository
rP Phabricator
Branch
from-name
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

sophiebits retitled this revision from to Set from name when $can_send_as_user is true.
sophiebits updated this object.
sophiebits edited the test plan for this revision. (Show Details)
sophiebits added a reviewer: epriestley.
This revision is now accepted and ready to land.Apr 4 2014, 12:44 AM
src/applications/metamta/storage/PhabricatorMetaMTAMail.php
365

Also I wonder if this clause should maybe be like if ($can_send_as_user && ($actor_email !== null)).

src/applications/metamta/storage/PhabricatorMetaMTAMail.php
365

Well, we have

$can_send_as_user = $actor_email &&
  PhabricatorEnv::getEnvConfig('metamta.can-send-as-user');

which I assumed was good enough.

365

Or did you mean just store the config option in that var?

epriestley updated this revision to Diff 20623.

Closed by commit rP133772d7eb1f (authored by @spicyj, committed by @epriestley).