Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32555124
D10507.1767195390.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10507.1767195390.diff
View Options
diff --git a/lib/reducers/entry-reducer.js b/lib/reducers/entry-reducer.js
--- a/lib/reducers/entry-reducer.js
+++ b/lib/reducers/entry-reducer.js
@@ -35,6 +35,7 @@
newThreadActionTypes,
} from '../actions/thread-actions.js';
import {
+ keyserverAuthActionTypes,
logOutActionTypes,
deleteKeyserverAccountActionTypes,
logInActionTypes,
@@ -479,7 +480,8 @@
];
} else if (
action.type === logInActionTypes.success ||
- action.type === siweAuthActionTypes.success
+ action.type === siweAuthActionTypes.success ||
+ action.type === keyserverAuthActionTypes.success
) {
const { calendarResult } = action.payload;
if (calendarResult) {
diff --git a/lib/reducers/keyserver-reducer.js b/lib/reducers/keyserver-reducer.js
--- a/lib/reducers/keyserver-reducer.js
+++ b/lib/reducers/keyserver-reducer.js
@@ -12,6 +12,7 @@
} from '../actions/keyserver-actions.js';
import { siweAuthActionTypes } from '../actions/siwe-actions.js';
import {
+ keyserverAuthActionTypes,
logOutActionTypes,
deleteKeyserverAccountActionTypes,
registerActionTypes,
@@ -115,7 +116,8 @@
return state;
} else if (
action.type === logInActionTypes.success ||
- action.type === siweAuthActionTypes.success
+ action.type === siweAuthActionTypes.success ||
+ action.type === keyserverAuthActionTypes.success
) {
const { updatesCurrentAsOf } = action.payload;
let keyserverInfos = { ...state.keyserverInfos };
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 31, 3:36 PM (18 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5874039
Default Alt Text
D10507.1767195390.diff (1 KB)
Attached To
Mode
D10507: [lib] Reduce new login actions in reduceEntryInfos and reduceKeyserverStore
Attached
Detach File
Event Timeline
Log In to Comment