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,