Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3525141
D7212.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7212.diff
View Options
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
@@ -427,6 +427,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
@@ -110,6 +110,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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 3:51 PM (10 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700387
Default Alt Text
D7212.diff (1 KB)
Attached To
Mode
D7212: [lib][web][native] Introduce commServicesAccessToken to Redux state
Attached
Detach File
Event Timeline
Log In to Comment