Page MenuHomePhabricator

D6902.diff
No OneTemporary

D6902.diff

diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js
--- a/keyserver/src/responders/user-responders.js
+++ b/keyserver/src/responders/user-responders.js
@@ -326,6 +326,8 @@
deviceTokenUpdateRequest: t.maybe(deviceTokenUpdateRequestInputValidator),
platformDetails: tPlatformDetails,
source: t.maybe(t.enums.of(values(logInActionSources))),
+ // We include `primaryIdentityPublicKey` to avoid breaking
+ // old clients, but we no longer do anything with it.
primaryIdentityPublicKey: t.maybe(tRegex(primaryIdentityPublicKeyRegex)),
signedIdentityKeysBlob: t.maybe(signedIdentityKeysBlobValidator),
});
@@ -396,13 +398,11 @@
}
const id = userRow.id.toString();
- const { primaryIdentityPublicKey } = input;
return await processSuccessfulLogin({
viewer,
input,
userID: id,
calendarQuery,
- primaryIdentityPublicKey,
});
}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 10:22 AM (18 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2694463
Default Alt Text
D6902.diff (929 B)

Event Timeline