Page MenuHomePhabricator

Fix an issue with user.whoami
ClosedPublic

Authored by epriestley on May 14 2015, 10:49 PM.
Tags
None
Referenced Files
F19945975: D12848.id.diff
Thu, Apr 16, 9:38 PM
F19867716: D12848.diff
Mar 15 2026, 12:40 AM
F19828973: D12848.id30912.diff
Mar 10 2026, 12:12 AM
F19818346: D12848.diff
Mar 5 2026, 7:49 PM
F19792812: D12848.diff
Feb 26 2026, 3:40 PM
F19680381: D12848.id.diff
Feb 8 2026, 7:47 PM
F19526216: D12848.id30914.diff
Jan 18 2026, 2:55 PM
F19225338: D12848.id30914.diff
Dec 17 2025, 4:38 PM
Subscribers

Details

Summary

Both user.whoami and user.query call the same wire formatting code, but expect different data.

Don't try to add availability data to user.whoami.

Stop adding email data to user.query. We've added it since D11791, but my intent was for it to be exposed only via user.whoami (i.e., expose your address, not others').

Test Plan
  • Called both methods.
  • Saw emails on user.whoami.
  • Saw availability on user.query.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with user.whoami.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 14 2015, 11:44 PM
This revision was automatically updated to reflect the committed changes.