Page MenuHomePhabricator

D7212.id24255.diff
No OneTemporary

D7212.id24255.diff

diff --git a/keyserver/src/responders/website-responders.js b/keyserver/src/responders/website-responders.js
--- a/keyserver/src/responders/website-responders.js
+++ b/keyserver/src/responders/website-responders.js
@@ -424,6 +424,7 @@
},
pushApiPublicKey: pushApiPublicKeyPromise,
_persist: null,
+ commServicesAccessToken: null,
});
const jsonStream = streamJSON(res, initialReduxState);
diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js
--- a/lib/types/redux-types.js
+++ b/lib/types/redux-types.js
@@ -109,6 +109,7 @@
dataLoaded: boolean,
userPolicies: UserPolicies,
deviceToken: ?string,
+ +commServicesAccessToken: ?string,
...
};
diff --git a/native/redux/redux-setup.js b/native/redux/redux-setup.js
--- a/native/redux/redux-setup.js
+++ b/native/redux/redux-setup.js
@@ -120,6 +120,7 @@
deviceOrientation: Orientation.getInitialOrientation(),
frozen: false,
userPolicies: {},
+ commServicesAccessToken: null,
}: AppState);
function reducer(state: AppState = defaultState, action: Action) {
diff --git a/native/redux/state-types.js b/native/redux/state-types.js
--- a/native/redux/state-types.js
+++ b/native/redux/state-types.js
@@ -56,4 +56,5 @@
deviceOrientation: Orientations,
frozen: boolean,
userPolicies: UserPolicies,
+ +commServicesAccessToken: ?string,
};
diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js
--- a/web/redux/redux-setup.js
+++ b/web/redux/redux-setup.js
@@ -93,6 +93,7 @@
cryptoStore: CryptoStore,
pushApiPublicKey: ?string,
_persist: ?PersistState,
+ +commServicesAccessToken: ?string,
};
export type Action =
diff --git a/web/root.js b/web/root.js
--- a/web/root.js
+++ b/web/root.js
@@ -47,6 +47,7 @@
'draftStore',
'cryptoStore',
'notifPermissionAlertInfo',
+ 'commServicesAccessToken',
],
migrate: (createMigrate(migrations, { debug: isDev }): any),
version: 1,

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 5:31 AM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701704
Default Alt Text
D7212.id24255.diff (1 KB)

Event Timeline