Homec4science

Fix an issue with user.whoami

Authored by epriestley <git@epriestley.com> on May 15 2015, 01:48.

Description

Fix an issue with user.whoami

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12848

Details

Committed
epriestley <git@epriestley.com>May 15 2015, 01:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPHb34d5bf44ba9: Strip GMail French quote header
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH705c1e649872: Fix an issue with user.whoami (authored by epriestley <git@epriestley.com>).May 15 2015, 01:48