Page MenuHomePhabricator

D8646.id29480.diff
No OneTemporary

D8646.id29480.diff

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
@@ -145,14 +145,8 @@
...
};
-// Web JS runtime doesn't have access to the cookie for security reasons.
-// Native JS doesn't have a sessionID because the cookieID is used instead.
-export type NativeAppState = BaseAppState<> & {
- +sessionID?: void,
- ...
-};
+export type NativeAppState = BaseAppState<>;
export type WebAppState = BaseAppState<> & {
- +sessionID: ?string,
+cryptoStore: CryptoStore,
+pushApiPublicKey: ?string,
...
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
@@ -50,7 +50,6 @@
+reportStore: ReportStore,
+nextLocalID: number,
+_persist: ?PersistState,
- +sessionID?: void,
+dimensions: DimensionsInfo,
+connectivity: ConnectivityInfo,
+globalThemeInfo: GlobalThemeInfo,
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
@@ -72,7 +72,6 @@
+deviceID: ?string,
+currentUserInfo: ?CurrentUserInfo,
+draftStore: DraftStore,
- +sessionID: ?string,
+entryStore: EntryStore,
+threadStore: ThreadStore,
+userStore: UserStore,
@@ -151,7 +150,6 @@
state = {
...state,
- sessionID: action.payload.sessionChange.sessionID,
keyserverStore: {
...state.keyserverStore,
keyserverInfos: {

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 6:19 AM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2827651
Default Alt Text
D8646.id29480.diff (1 KB)

Event Timeline