Page MenuHomePhabricator

D10091.diff
No OneTemporary

D10091.diff

diff --git a/lib/reducers/master-reducer.js b/lib/reducers/master-reducer.js
--- a/lib/reducers/master-reducer.js
+++ b/lib/reducers/master-reducer.js
@@ -22,6 +22,7 @@
import { reduceThreadActivity } from './thread-activity-reducer.js';
import { reduceThreadInfos } from './thread-reducer.js';
import { reduceCurrentUserInfo, reduceUserInfos } from './user-reducer.js';
+import { addKeyserverActionType } from '../actions/keyserver-actions.js';
import { siweAuthActionTypes } from '../actions/siwe-actions.js';
import {
registerActionTypes,
@@ -82,7 +83,8 @@
action.type !== fullStateSyncActionType &&
action.type !== registerActionTypes.success &&
action.type !== logInActionTypes.success &&
- action.type !== siweAuthActionTypes.success
+ action.type !== siweAuthActionTypes.success &&
+ action.type !== addKeyserverActionType
) {
for (const keyserverID in keyserverStore.keyserverInfos) {
if (
@@ -104,8 +106,9 @@
};
}
if (
+ state.keyserverStore.keyserverInfos[keyserverID] &&
keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf !==
- state.keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf
+ state.keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf
) {
const keyserverInfos = { ...keyserverStore.keyserverInfos };
keyserverInfos[keyserverID] = {
diff --git a/lib/socket/socket.react.js b/lib/socket/socket.react.js
--- a/lib/socket/socket.react.js
+++ b/lib/socket/socket.react.js
@@ -509,6 +509,7 @@
error: null,
logInActionSource:
logInActionSources.socketAuthErrorResolutionAttempt,
+ keyserverID: ashoatKeyserverID,
},
});
} else if (!recoverySessionChange) {

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 5:38 AM (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610420
Default Alt Text
D10091.diff (1 KB)

Event Timeline