Page MenuHomePhabricator

D9533.id32181.diff
No OneTemporary

D9533.id32181.diff

diff --git a/lib/selectors/socket-selectors.js b/lib/selectors/socket-selectors.js
--- a/lib/selectors/socket-selectors.js
+++ b/lib/selectors/socket-selectors.js
@@ -69,7 +69,7 @@
) => (
calendarActive: boolean,
oneTimeKeyGenerator: ?OneTimeKeyGenerator,
- getSignedIdentityKeysBlob: ?() => Promise<SignedIdentityKeysBlob>,
+ getSignedIdentityKeysBlob: () => Promise<SignedIdentityKeysBlob>,
getInitialNotificationsEncryptedMessage: ?() => Promise<string>,
serverRequests: $ReadOnlyArray<ClientServerRequest>,
) => Promise<$ReadOnlyArray<ClientClientResponse>> = createSelector(
@@ -82,7 +82,7 @@
return async (
calendarActive: boolean,
oneTimeKeyGenerator: ?OneTimeKeyGenerator,
- getSignedIdentityKeysBlob: ?() => Promise<SignedIdentityKeysBlob>,
+ getSignedIdentityKeysBlob: () => Promise<SignedIdentityKeysBlob>,
getInitialNotificationsEncryptedMessage: ?() => Promise<string>,
serverRequests: $ReadOnlyArray<ClientServerRequest>,
): Promise<$ReadOnlyArray<ClientClientResponse>> => {
@@ -167,8 +167,7 @@
keys,
});
} else if (
- serverRequest.type === serverRequestTypes.SIGNED_IDENTITY_KEYS_BLOB &&
- getSignedIdentityKeysBlob
+ serverRequest.type === serverRequestTypes.SIGNED_IDENTITY_KEYS_BLOB
) {
const signedIdentityKeysBlob = await getSignedIdentityKeysBlob();
clientResponses.push({
diff --git a/native/selectors/socket-selectors.js b/native/selectors/socket-selectors.js
--- a/native/selectors/socket-selectors.js
+++ b/native/selectors/socket-selectors.js
@@ -92,7 +92,7 @@
getClientResponsesFunc: (
calendarActive: boolean,
oneTimeKeyGenerator: ?OneTimeKeyGenerator,
- getSignedIdentityKeysBlob: ?() => Promise<SignedIdentityKeysBlob>,
+ getSignedIdentityKeysBlob: () => Promise<SignedIdentityKeysBlob>,
getInitialNotificationsEncryptedMessage: ?() => Promise<string>,
serverRequests: $ReadOnlyArray<ClientServerRequest>,
) => Promise<$ReadOnlyArray<ClientClientResponse>>,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 7:31 PM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2602133
Default Alt Text
D9533.id32181.diff (2 KB)

Event Timeline